-
Notifications
You must be signed in to change notification settings - Fork 6
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
[Question] Types of users and company user #56
Comments
The condominium is the "master user" in our scenario. The flow goes as follows:
I agree that we should figure out how to handle the employee having administrative actions. As I see, it could be a simple boolean column in the |
From the point of view of our database schema, the most logical way to do this will be creating a new user type like: adminEmployee or company. Because we already have the field user_type, and i think that doing this instead using a boolean will be more benefical for the future of the application than using a simple boolean. |
Hello everyone.
Context
When creating a condominium, it also creates the condominium user, the same happens for employees. But while working in companies route, i cannot find a user_type company.
I cannot find any clues in code to answer this, so i am opening this issue.
Question
Who's gonna add employees for a company?
After talking with Tomazella, we found three possibilities.
Solution
Conclusions
In terms of work load, we agreed that using the first method would be more beneficial.
The third solution, wouldn't fit well in our scenario, because the responsibility of the employees should be of the company.
The text was updated successfully, but these errors were encountered: