-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Models: Users #3
Labels
model
A back-end model of an object
Comments
Another question for Users: I want to get the terminology correct so we don't get confused. Currently there are only three words I am using:
|
Yes that’s all correct. Don’t worry so much about permissions. User is fine to encompass both.
Melissa Chang
… On Jun 12, 2018, at 10:07 PM, Elthran ***@***.***> wrote:
Another question for Users: I want to get the terminology correct so we don't get confused. Currently there are only three words I am using:
Business (A business. It has a list of employees, a list of clients, a list of appointments, etc.)
User (This refers to employees and owners of companies. I'm not sure how to split this. Should I have "owners" and "practitioners" or something, where owner implies admin privilieges to the business and practitioner implies they have access to see stuff but cant change stuff)? They I can have Users and each user is either an owner or practitioner. But then some owners will also be practitioners. Can you help me clarify the types of accounts and what names we should use. We could do it simply like all accounts are "Users" and some accounts are also "Admins". So you can be a user or a user+admin and have extra privileges.
Clients: These are profiles of people that use businesses and are stored by their email address. They dont have real accounts and clients can be created by businesses even if the client never went to the website.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub <#3 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/Alf7CErBSm1JZ0987QWuEHUceAgonsjbks5t8J37gaJpZM4UYdM->.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A User on the account should have (note, everything in my database has an id and time created timestamp by default so i wont add those):
password (i spent the weekend and have now set up an encryption system so passwords are hashed before they are stored, so there are no plain-text passwords anywhere. it should be safe)
business (you must have a business associated with the account? you must either create the business when you create the account OR create an account through a business employee link, therefore there are never accounts that dont have a business associated with them yet?)
Yes, different availability for each day is required. Should have a way to setup standard default hours (M-F, 9-5) but also if we could have the option to do this in a date range as well. For example, summer hours from July 1-Aug 31 would be 11-7 but then they'd automatically go back to 9-5 in September. You'd also have the option to manually go into the calendar and change hours on different days.
Also, different locations for the same business based on practitioner.
anything else related to the user that should be stored in the user table? probably things like subscription level (the higher their level, the more site features they can access), friends?, etc. Anything the user needs to track needs to be in this database.
The text was updated successfully, but these errors were encountered: