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
Multiple roles for same user #156
Labels
enhancement
New feature or request
Comments
Makes sense will track this. |
Since there are atleast 7 upvotes on this feature just want to confirm if its something folks still want happy to implement it. |
I know its from a couple years ago but we've come far and the library is a lot more mature now and is able to support this capability. |
Yeah, this would be nice to have feature. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Support for multiple roles for the same user:
It would be nice, if a user could inherit multiple roles, to allow flexible permission management for different use cases.
Why is this needed:
Many application might have different use cases to support. Often, the respective permissions for different use cases – i.e. user management and post management – should be handled separately. If users can only have one role, the role system can become rather bloated quckly.
Example: user-section and post-section with each separat read and admin permissions
-> user_admin, user_reader, post_admin, post_reader, user_and_post_admin, user_admin_post_reader, user_reader_post_admin, user_post_reader, ...
The text was updated successfully, but these errors were encountered: