-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[RW-1180] Add role to edit topics
- Loading branch information
Showing
4 changed files
with
55 additions
and
2 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
config/system.action.user_add_role_action.topic_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: 4f0355db-bb6f-4b9c-a206-907ce07510b1 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- user.role.topic_editor | ||
module: | ||
- user | ||
id: user_add_role_action.topic_editor | ||
label: 'Add the Topic editor role to the selected user(s)' | ||
type: user | ||
plugin: user_add_role_action | ||
configuration: | ||
rid: topic_editor |
14 changes: 14 additions & 0 deletions
14
config/system.action.user_remove_role_action.topic_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: 7bb10b57-3148-4053-831f-b69d2fdfff32 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- user.role.topic_editor | ||
module: | ||
- user | ||
id: user_remove_role_action.topic_editor | ||
label: 'Remove the Topic editor role from the selected user(s)' | ||
type: user | ||
plugin: user_remove_role_action | ||
configuration: | ||
rid: topic_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
uuid: 9e4f7f13-f094-44af-9621-56340de4577d | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- filter.format.markdown | ||
- media.type.image_topic | ||
- node.type.topic | ||
module: | ||
- filter | ||
- media | ||
- node | ||
id: topic_editor | ||
label: 'Topic editor' | ||
weight: 11 | ||
is_admin: null | ||
permissions: | ||
- 'create image_topic media' | ||
- 'create topic content' | ||
- 'delete any image_topic media' | ||
- 'edit any image_topic media' | ||
- 'edit any topic content' | ||
- 'use text format markdown' |
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