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
What's your scenario? What do you want to achieve?
i'm building a RBAC access control system,and i wanna kown my AddRolesForUser verify Is it necessary?
if Enforcer.AddRolesForUser("data2_admin","data1_user") pass ,policy will add "g,data2_admin,data1_user".Is it harmless?or i need check param before use function.i'm tried testing,it's look like harmless,but i wanna konw a true answer.
The text was updated successfully, but these errors were encountered:
Want to prioritize this issue? Try:
What's your scenario? What do you want to achieve?
i'm building a RBAC access control system,and i wanna kown my AddRolesForUser verify Is it necessary?
Your model:
Your policy:
Your request(s):
if Enforcer.AddRolesForUser("data2_admin","data1_user") pass ,policy will add "g,data2_admin,data1_user".Is it harmless?or i need check param before use function.i'm tried testing,it's look like harmless,but i wanna konw a true answer.
The text was updated successfully, but these errors were encountered: