You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a new user of Casbin, I have some confusions about the role inheritance with RBAC model. For example:
If I have two roles just like that: role:admin --> has permission: resource1, read role:area_admin --> which inherited by role:admin and has permission: resource2, write
I expected that using role name(role:admin) can list all of sub permissions, the result has 2 rows:
permission: resource1, read
permission: resource2, write
BUT now, what I listed just ONLY one row in result: permission: resource1, read by golang API.
Hi guys,
I am a new user of Casbin, I have some confusions about the role inheritance with RBAC model. For example:
If I have two roles just like that:
role:admin--> has permission: resource1, readrole:area_admin--> which inherited byrole:adminand has permission: resource2, writeI expected that using role name(role:admin) can list all of sub permissions, the result has 2 rows:
BUT now, what I listed just ONLY one row in result:
permission: resource1, readby golang API.why?