graphjin
graphjin copied to clipboard
Multiple roles for same user
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, ...
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. I've been checking out graphjin for a few days only, but already hit usecases mentioned above.