1
0
Fork 0
mirror of synced 2024-05-20 04:32:37 +12:00

Add attribute and index scopes

This commit is contained in:
kodumbeats 2021-06-10 16:41:33 -04:00
parent 4e068e63bf
commit fbb54a1f6d
3 changed files with 24 additions and 0 deletions

View file

@ -11,6 +11,10 @@ $member = [
'teams.write',
'documents.read',
'documents.write',
'attributes.read',
'attributes.write',
'indexes.read',
'indexes.write',
'files.read',
'files.write',
'projects.read',
@ -32,6 +36,10 @@ $admins = [
'users.write',
'collections.read',
'collections.write',
'attributes.read',
'attributes.write',
'indexes.read',
'indexes.write',
'platforms.read',
'platforms.write',
'keys.read',

View file

@ -19,6 +19,18 @@ return [ // List of publicly visible scopes
'collections.write' => [
'description' => 'Access to create, update, and delete your project\'s database collections',
],
'attributes.read' => [
'description' => 'Access to read your project\'s database collection\'s attributes',
],
'attributes.write' => [
'description' => 'Access to create, update, and delete your project\'s database collection\'s attributes',
],
'indexes.read' => [
'description' => 'Access to read your project\'s database collection\'s indexes',
],
'indexes.write' => [
'description' => 'Access to create, update, and delete your project\'s database collection\'s indexes',
],
'documents.read' => [
'description' => 'Access to read your project\'s database documents',
],

View file

@ -69,6 +69,10 @@ trait ProjectCustom
'teams.write',
'collections.read',
'collections.write',
'attributes.read',
'attributes.write',
'indexes.read',
'indexes.write',
'documents.read',
'documents.write',
'files.read',