Esempio n. 1
0
 public bool HasFlags(Authorization.GlobalPermissionType flags)
 {
     return(Permissions.HasFlag(flags));
 }
Esempio n. 2
0
 public UsageRight(Group entity, Authorization.GlobalPermissionType permissions)
     : this(entity.Id, new Authorization.Permissions(new Authorization.GlobalPermission(permissions), null))
 {
 }