-
-
Notifications
You must be signed in to change notification settings - Fork 411
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
User Management API #3471
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've faced a problem that is OpenBoxes API doesn't have support to control properly the roles of a user. For some reason, when you try to pass many roles on a POST or PUT in the "generic/api/user" with:
Look what happened in the database:
It duplicates the first role for the user, trying to pass 3 roles, it will triplicate, and follow this bug for all roles you pass.
Another question is, it could be possible to catch all the roles associated to an user by his id, this would help so much to control OpenBoxes user access by your own system using API. Until now, I haven't found a way to do it...
The text was updated successfully, but these errors were encountered: