graphjin icon indicating copy to clipboard operation
graphjin copied to clipboard

Multiple roles for same user

Open tikiatua opened this issue 4 years ago • 4 comments

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 avatar Sep 03 '20 10:09 tikiatua

Makes sense will track this.

dosco avatar Sep 04 '20 05:09 dosco

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

dosco avatar Jan 18 '23 05:01 dosco

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.

dosco avatar Jan 18 '23 05:01 dosco

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.

PyrekP avatar Mar 10 '24 11:03 PyrekP