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

Multiple roles for same user #156

Open
tikiatua opened this issue Sep 3, 2020 · 4 comments
Open

Multiple roles for same user #156

tikiatua opened this issue Sep 3, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@tikiatua
Copy link

tikiatua commented Sep 3, 2020

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, ...

@tikiatua tikiatua added the enhancement New feature or request label Sep 3, 2020
@dosco
Copy link
Owner

dosco commented Sep 4, 2020

Makes sense will track this.

@dosco
Copy link
Owner

dosco commented Jan 18, 2023

Since there are atleast 7 upvotes on this feature just want to confirm if its something folks still want happy to implement it.

@dosco
Copy link
Owner

dosco commented Jan 18, 2023

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.

@PyrekP
Copy link

PyrekP commented Mar 10, 2024

Yeah, this would be nice to have feature.
I've been checking out graphjin for a few days only, but already hit usecases mentioned above.

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

3 participants