How to add more permissions to a role?
xpbliss opened this issue · comments
xpbliss commented
How to add more permissions to a role?
Xing commented
Role is an interface which has a method named AddPermission
. You can call this method multi times to set varies Permission
(s).
You can see how it works in the test case of StdRole.AddPermission.