diff --git a/app/config/roles.php b/app/config/roles.php index 3e06ddbfde..3aabc0b931 100644 --- a/app/config/roles.php +++ b/app/config/roles.php @@ -13,6 +13,7 @@ $member = [ 'documents.write', 'files.read', 'files.write', + 'buckets.write', 'projects.read', 'projects.write', 'locale.read', @@ -28,6 +29,7 @@ $admins = [ 'documents.write', 'files.read', 'files.write', + 'buckets.write', 'users.read', 'users.write', 'collections.read', diff --git a/app/config/scopes.php b/app/config/scopes.php index 088502c5d8..47d93458bf 100644 --- a/app/config/scopes.php +++ b/app/config/scopes.php @@ -31,6 +31,9 @@ return [ // List of publicly visible scopes 'files.write' => [ 'description' => 'Access to create, update, and delete your project\'s storage files', ], + 'buckets.write' => [ + 'description' => 'Access to create, update, and delete your project\'s storage buckets', + ], 'functions.read' => [ 'description' => 'Access to read your project\'s functions and code tags', ], diff --git a/tests/e2e/Scopes/ProjectCustom.php b/tests/e2e/Scopes/ProjectCustom.php index 3f80285282..dc5673ce83 100644 --- a/tests/e2e/Scopes/ProjectCustom.php +++ b/tests/e2e/Scopes/ProjectCustom.php @@ -73,6 +73,7 @@ trait ProjectCustom 'documents.write', 'files.read', 'files.write', + 'buckets.write', 'functions.read', 'functions.write', 'execution.read',