Skip to content
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

Update /user endpoint and associated logic. #311

Open
maxachis opened this issue May 29, 2024 · 0 comments
Open

Update /user endpoint and associated logic. #311

maxachis opened this issue May 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@maxachis
Copy link
Contributor

maxachis commented May 29, 2024

Currently, the only way a user can be given particular roles, such as admin, appears to be through database manipulation. If we want to ensure that all actions are driven through the api, the endpoint functionality may need modified to enable the adding of user roles.

If that's not considered viable, we should consider how we intend to add admins or other users with special privileges.

We may also want to ensure that we have roles in a separate table from users, for a few reasons:

  1. Separation of concerns, always good
  2. Users in the future may have more than one role
  3. We may want security permissions for users to be separate from security permissions for their roles.
@maxachis maxachis added the enhancement New feature or request label May 29, 2024
@maxachis maxachis changed the title Update /user endpoint to include role. Update /user endpoint to include role assignment. May 29, 2024
@maxachis maxachis changed the title Update /user endpoint to include role assignment. Update /user endpoint and associated logic. May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant