-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a new role called 'GO Editor' (go_editor) which will be used
for handling GO specific content and configuration. Also added a new custom permission to the dpl_unilogin configuration route and enabled the permission for the new "GO Editor" role. Lastly we removed the "Bypass content access control" permission, and instead added specific content access permissions for each content type to each role.
- Loading branch information
Showing
10 changed files
with
188 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ roles: | |
external_system: safe | ||
bnf_graphql_client: unsafe | ||
go_graphql_client: unsafe | ||
go_editor: unsafe |
14 changes: 14 additions & 0 deletions
14
config/sync/system.action.user_add_role_action.go_editor.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
uuid: 898ac13b-ae50-4933-b48b-73253f6b6275 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- user.role.go_editor | ||
module: | ||
- user | ||
id: user_add_role_action.go_editor | ||
label: 'Add the GO Editor role to the selected user(s)' | ||
type: user | ||
plugin: user_add_role_action | ||
configuration: | ||
rid: go_editor |
14 changes: 14 additions & 0 deletions
14
config/sync/system.action.user_remove_role_action.go_editor.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
uuid: 1cac38fa-25f6-4dbe-94fd-dbc268990be6 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- user.role.go_editor | ||
module: | ||
- user | ||
id: user_remove_role_action.go_editor | ||
label: 'Remove the GO Editor role from the selected user(s)' | ||
type: user | ||
plugin: user_remove_role_action | ||
configuration: | ||
rid: go_editor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
uuid: d2a6c001-46cd-440d-8efd-ff5499ebdee6 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- filter.format.basic | ||
- filter.format.limited | ||
- filter.format.underlined_title | ||
- media.type.audio | ||
- media.type.document | ||
- media.type.image | ||
- media.type.video | ||
- node.type.go_category_page | ||
- node.type.go_page | ||
- node.type.page | ||
module: | ||
- administerusersbyrole | ||
- content_lock | ||
- dpl_admin | ||
- dpl_unilogin | ||
- entity_clone | ||
- field_inheritance | ||
- file | ||
- filter | ||
- media | ||
- node | ||
- paragraphs | ||
- redirect | ||
- scheduler | ||
- system | ||
- toolbar | ||
- view_unpublished | ||
id: go_editor | ||
label: 'GO Editor' | ||
weight: 11 | ||
is_admin: null | ||
permissions: | ||
- 'access administration pages' | ||
- 'access content overview' | ||
- 'access media overview' | ||
- 'access toolbar' | ||
- 'access user profiles' | ||
- 'access users overview' | ||
- 'administer entity field inheritance' | ||
- 'administer nodes' | ||
- 'administer redirects' | ||
- 'administer unilogin settings' | ||
- 'break content lock' | ||
- 'change own username' | ||
- 'clone node entity' | ||
- 'create audio media' | ||
- 'create document media' | ||
- 'create go_category_page content' | ||
- 'create go_page content' | ||
- 'create image media' | ||
- 'create media' | ||
- 'create video media' | ||
- 'delete all revisions' | ||
- 'delete any audio media' | ||
- 'delete any document media' | ||
- 'delete any go_category_page content' | ||
- 'delete any go_page content' | ||
- 'delete any image media' | ||
- 'delete any media' | ||
- 'delete any video media' | ||
- 'delete go_category_page revisions' | ||
- 'delete go_page revisions' | ||
- 'delete media' | ||
- 'delete own audio media' | ||
- 'delete own document media' | ||
- 'delete own files' | ||
- 'delete own go_category_page content' | ||
- 'delete own go_page content' | ||
- 'delete own image media' | ||
- 'delete own video media' | ||
- 'dpl admin access pages' | ||
- 'edit any audio media' | ||
- 'edit any document media' | ||
- 'edit any go_category_page content' | ||
- 'edit any go_page content' | ||
- 'edit any image media' | ||
- 'edit any video media' | ||
- 'edit own audio media' | ||
- 'edit own document media' | ||
- 'edit own go_category_page content' | ||
- 'edit own go_page content' | ||
- 'edit own image media' | ||
- 'edit own video media' | ||
- 'revert all revisions' | ||
- 'revert go_category_page revisions' | ||
- 'revert go_page revisions' | ||
- 'schedule publishing of eventseries' | ||
- 'schedule publishing of nodes' | ||
- 'update any media' | ||
- 'update media' | ||
- 'use text format basic' | ||
- 'use text format limited' | ||
- 'use text format underlined_title' | ||
- 'view all media revisions' | ||
- 'view all revisions' | ||
- 'view any unpublished go_category_page content' | ||
- 'view any unpublished go_page content' | ||
- 'view go_category_page revisions' | ||
- 'view go_page revisions' | ||
- 'view own unpublished content' | ||
- 'view own unpublished media' | ||
- 'view page revisions' | ||
- 'view scheduled content' | ||
- 'view scheduled eventseries' | ||
- 'view scheduled media' | ||
- 'view scheduled taxonomy_term' | ||
- 'view the administration theme' | ||
- 'view unpublished paragraphs' | ||
- 'view users by role' |
Oops, something went wrong.