Update configs
This commit is contained in:
parent
dbb8e5421a
commit
a0add9ec7a
2 changed files with 5 additions and 24 deletions
|
@ -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,
|
||||
|
|
|
@ -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 => [
|
||||
|
|
Loading…
Reference in a new issue