예제 #1
0
 public bool CanWrite(ConcreteRoleType roleType)
 {
     return(this.IsPermitted(roleType.RoleType, Operations.Write));
 }
예제 #2
0
 public void Grant(Guid roleId, ObjectType objectType, ConcreteRoleType concreteRoleType, params Operations[] operations) => this.Grant(roleId, objectType, concreteRoleType.RoleType, operations);
예제 #3
0
 public bool CanRead(ConcreteRoleType roleType)
 {
     return(this.IsPermitted(roleType.RoleType, Operations.Read));
 }