add_permission_for_role
Description:
[ Version ( since = "1.14" ) ]
public void add_permission_for_role (string role, string permission, bool allowed)
public void add_permission_for_role (string role, string permission, bool allowed)
Add a new permission for role to this with the access in allowed.
Parameters:
| this | |
| role |
a role |
| permission |
the permission |
| allowed |
whether the role has this permission or not |