News for hackers. Stuff that matters.
Re:Role-based access control like it was meant to be by vs4vijay on Tuesday August 31, 2021 @03:29AM (#28364895)
Coincidentally, We have designed somewhat similar Entitlement System for our use case. We narrowed down our requirement in one simple sentence - "A group of users can be given permission to do something on group of resources."

We just need 3 entities here: - UserGroup - ResourceGroup - Entitlement (Which is basically a mapping of userGroupId and resourceGroupId along with permissions like Widget.CREATE, Report.DOWNLOAD etc etc)

All the entitlements will be granted at Group level and no nesting of groups.

There are no comments on this comment yet.