From 382aab0deeded7f547599b237f4ce20a66ea95f6 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 15 Jun 2021 13:08:06 +0545 Subject: [PATCH] buckets.read scope --- app/config/roles.php | 2 ++ app/config/scopes.php | 3 +++ 2 files changed, 5 insertions(+) diff --git a/app/config/roles.php b/app/config/roles.php index 3aabc0b93..ae9157eaa 100644 --- a/app/config/roles.php +++ b/app/config/roles.php @@ -13,6 +13,7 @@ $member = [ 'documents.write', 'files.read', 'files.write', + 'buckets.read', 'buckets.write', 'projects.read', 'projects.write', @@ -29,6 +30,7 @@ $admins = [ 'documents.write', 'files.read', 'files.write', + 'buckets.read', 'buckets.write', 'users.read', 'users.write', diff --git a/app/config/scopes.php b/app/config/scopes.php index 47d93458b..303c83475 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.read' => [ + 'description' => 'Access to read your project\'s storage buckets', + ], 'buckets.write' => [ 'description' => 'Access to create, update, and delete your project\'s storage buckets', ],