Skip to content

Commit

Permalink
Don't allow editors to manage services
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed May 22, 2024
1 parent 2e89d33 commit a839a5a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions config/admin/graphql/resource.php
Original file line number Diff line number Diff line change
Expand Up @@ -1154,23 +1154,23 @@
* @param array List of user group names
* @since 2022.10
*/
'delete' => ['admin', 'editor', 'super'],
'delete' => ['admin', 'super'],

/** admin/graphql/resource/service/save
* List of user groups that are allowed to create and update service items
*
* @param array List of user group names
* @since 2022.10
*/
'save' => ['admin', 'editor', 'super'],
'save' => ['admin', 'super'],

/** admin/graphql/resource/service/get
* List of user groups that are allowed to retrieve service items
*
* @param array List of user group names
* @since 2022.10
*/
'get' => ['admin', 'editor', 'super'],
'get' => ['admin', 'super'],

'lists' => [
/** admin/graphql/resource/service/lists/delete
Expand All @@ -1179,23 +1179,23 @@
* @param array List of user group names
* @since 2022.10
*/
'delete' => ['admin', 'editor', 'super'],
'delete' => ['admin', 'super'],

/** admin/graphql/resource/service/lists/save
* List of user groups that are allowed to create and update service lists items
*
* @param array List of user group names
* @since 2022.10
*/
'save' => ['admin', 'editor', 'super'],
'save' => ['admin', 'super'],

/** admin/graphql/resource/service/lists/get
* List of user groups that are allowed to retrieve service lists items
*
* @param array List of user group names
* @since 2022.10
*/
'get' => ['admin', 'editor', 'super'],
'get' => ['admin', 'super'],

'type' => [
/** admin/graphql/resource/service/lists/type/delete
Expand Down

0 comments on commit a839a5a

Please sign in to comment.