1
0
Fork 0
mirror of synced 2024-09-29 08:51:28 +13:00

Update configs

This commit is contained in:
Jake Barnby 2022-08-03 21:52:04 +12:00
parent dbb8e5421a
commit a0add9ec7a
2 changed files with 5 additions and 24 deletions

View file

@ -99,16 +99,6 @@ $collections = [
'default' => null,
'array' => false,
],
[
'$id' => 'permission',
'type' => Database::VAR_STRING,
'size' => 64,
'signed' => true,
'required' => false,
'default' => null,
'array' => false,
'filters' => [],
],
[
'$id' => 'attributes',
'type' => Database::VAR_STRING,
@ -2528,6 +2518,7 @@ $collections = [
'$collection' => Database::METADATA,
'$id' => 'buckets',
'name' => 'Buckets',
'documentSecurity' => true,
'attributes' => [
[
'$id' => 'enabled',
@ -2549,16 +2540,6 @@ $collections = [
'required' => true,
'array' => false,
],
[
'$id' => 'permission',
'type' => Database::VAR_STRING,
'size' => 64,
'signed' => true,
'required' => false,
'default' => null,
'array' => false,
'filters' => [],
],
[
'$id' => 'maximumFileSize',
'type' => Database::VAR_INTEGER,

View file

@ -52,8 +52,8 @@ $admins = [
];
return [
Auth::USER_ROLE_GUEST => [
'label' => 'Guest',
Auth::USER_ROLE_GUESTS => [
'label' => 'Guests',
'scopes' => [
'public',
'home',
@ -64,8 +64,8 @@ return [
'avatars.read',
],
],
Auth::USER_ROLE_MEMBER => [
'label' => 'Member',
Auth::USER_ROLE_USERS => [
'label' => 'Users',
'scopes' => \array_merge($member, []),
],
Auth::USER_ROLE_ADMIN => [