Sanjay
01/27/2025, 9:49 AMuser:create
, user:delete
user.update
etc and such permissions for various resources. Here user
is the resource. I store those in permission table and then allow the users to create the custom roles where they create the role and select the permissions present in the permissions drop-down. So here the role is basically the collection of the related permissions. Then user can assign that role to a group or an individual user. After that when user logs in and try to access the resource then PDP will check if the user has specific permission. This only checks for allow
effect and this is how I am designing it. In case of Cerobs what I am unsure is, how the user can create the custom roles and how the Ui/UX would look like. can anyone throw some light on it?