From 48ede78894b32afa711e76742b4f426b45973f67 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Tue, 20 Sep 2022 19:03:04 +1200 Subject: [PATCH] Fix roles --- app/config/roles.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/config/roles.php b/app/config/roles.php index 2888827aa6..9db725e977 100644 --- a/app/config/roles.php +++ b/app/config/roles.php @@ -6,6 +6,7 @@ $member = [ 'public', 'home', 'console', + 'graphql', 'account', 'teams.read', 'teams.write', @@ -22,6 +23,7 @@ $member = [ ]; $admins = [ + 'graphql', 'teams.read', 'teams.write', 'documents.read', @@ -58,7 +60,6 @@ return [ 'public', 'home', 'console', - 'graphql', 'documents.read', 'documents.write', 'files.read', @@ -86,6 +87,6 @@ return [ ], Auth::USER_ROLE_APPS => [ 'label' => 'Applications', - 'scopes' => ['health.read'], + 'scopes' => ['health.read', 'graphql'], ], ];