Example #1
0
 public static StoragePermissions GetAuthenticatedPermissions(this IStorageSecurity security)
 => security.GetPermissions(StorageActor.Authenticated);
Example #2
0
 public static StoragePermissions GetGroupPermissions(this IStorageSecurity security, string id)
 => security.GetPermissions(StorageActor.Group(id));
Example #3
0
 public static StoragePermissions GetPublicPermissions(this IStorageSecurity security)
 => security.GetPermissions(StorageActor.Public);
Example #4
0
 public static StoragePermissions GetUserPermissions(this IStorageSecurity security, string id)
 => security.GetPermissions(StorageActor.User(id));