-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
d8core-5741: role for opportunity content type
- Loading branch information
1 parent
ed3766d
commit 67208c7
Showing
4 changed files
with
63 additions
and
7 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
14 changes: 14 additions & 0 deletions
14
config/sync/system.action.user_add_role_action.opportunity_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: 51fe3b5b-b3d2-43d5-9cfb-f0aacefa51b9 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- user.role.opportunity_editor | ||
module: | ||
- user | ||
id: user_add_role_action.opportunity_editor | ||
label: 'Add the Opportunity Editor role to the selected user(s)' | ||
type: user | ||
plugin: user_add_role_action | ||
configuration: | ||
rid: opportunity_editor |
14 changes: 14 additions & 0 deletions
14
config/sync/system.action.user_remove_role_action.opportunity_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: 1c657bca-791f-400c-9c22-775d9fc71b39 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- user.role.opportunity_editor | ||
module: | ||
- user | ||
id: user_remove_role_action.opportunity_editor | ||
label: 'Remove the Opportunity Editor role from the selected user(s)' | ||
type: user | ||
plugin: user_remove_role_action | ||
configuration: | ||
rid: opportunity_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,25 @@ | ||
uuid: 484eba31-f5a6-43f2-a22f-dce16500c1c8 | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- node.type.stanford_opportunity | ||
module: | ||
- node | ||
- role_delegation | ||
- view_unpublished | ||
id: opportunity_editor | ||
label: 'Opportunity Editor' | ||
weight: 3 | ||
is_admin: null | ||
permissions: | ||
- 'assign opportunity_editor role' | ||
- 'create stanford_opportunity content' | ||
- 'delete any stanford_opportunity content' | ||
- 'delete own stanford_opportunity content' | ||
- 'delete stanford_opportunity revisions' | ||
- 'edit any stanford_opportunity content' | ||
- 'edit own stanford_opportunity content' | ||
- 'revert stanford_opportunity revisions' | ||
- 'view any unpublished stanford_opportunity content' | ||
- 'view stanford_opportunity revisions' |