-
Notifications
You must be signed in to change notification settings - Fork 81
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
API for assignment of roles to users #29
Comments
I drafted an API design for user role management for organizations and projects. @Cadasta/cadasta-dev, I would like someone to cross-check if it makes sense, especially the bulk operations. |
@oliverroick, currently, the roles given as examples are from the default set of user roles in #8. If there will be custom roles or new default user roles in the future, do we assume that these role identifiers ( |
@oliverroick, I've added a bunch of comments to the document you shared |
@seav Thanks for those comments. I've responded to most of them, but I'll be moving all that API documentation onto GitHub on Monday, which might make discussions easier. |
@seav Oh, and to answer your question about the JSON field names: this fixed roles approach is a temporary measure before we develop a more sophisticated editable roles approach, so the namespacing shouldn't be a problem. |
This is implemented and ready for review. I'll rebase and open a PR as soon as the main project backend functionality is in master. |
I've reviewed this. It looks fine, although it will need another look before finally merging to make sure everything is OK after merging the main projects API. |
There is a mechanism for assignment and de-assignment of roles to user accounts.
The text was updated successfully, but these errors were encountered: