Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VAGOV-357 basic publishing workflow with three roles and six states #4

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions config/sync/system.action.user_add_role_action.content_creator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
uuid: 99265270-f9d0-4784-9c2c-f32243eec39d
langcode: en
status: true
dependencies:
config:
- user.role.content_creator
module:
- user
id: user_add_role_action.content_creator
label: 'Add the Content creator role to the selected user(s)'
type: user
plugin: user_add_role_action
configuration:
rid: content_creator
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
uuid: 44359427-6773-4aea-b2aa-0edf7b14d2d0
langcode: en
status: true
dependencies:
config:
- user.role.content_publisher
module:
- user
id: user_add_role_action.content_publisher
label: 'Add the Content publisher role to the selected user(s)'
type: user
plugin: user_add_role_action
configuration:
rid: content_publisher
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
uuid: c3aa76b2-e643-4f86-b429-e9945200d417
langcode: en
status: true
dependencies:
config:
- user.role.content_reviewer
module:
- user
id: user_add_role_action.content_reviewer
label: 'Add the Content reviewer role to the selected user(s)'
type: user
plugin: user_add_role_action
configuration:
rid: content_reviewer

This file was deleted.

This file was deleted.

14 changes: 0 additions & 14 deletions config/sync/system.action.user_add_role_action.layout_manager.yml

This file was deleted.

14 changes: 0 additions & 14 deletions config/sync/system.action.user_add_role_action.page_creator.yml

This file was deleted.

14 changes: 0 additions & 14 deletions config/sync/system.action.user_add_role_action.page_reviewer.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
uuid: 400f013e-fd53-448c-bad5-b4f49b6b6542
langcode: en
status: true
dependencies:
config:
- user.role.content_creator
module:
- user
id: user_remove_role_action.content_creator
label: 'Remove the Content creator role from the selected user(s)'
type: user
plugin: user_remove_role_action
configuration:
rid: content_creator
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
uuid: b83f08c7-7a5c-4d80-acd1-f4da3fc6acbb
langcode: en
status: true
dependencies:
config:
- user.role.content_publisher
module:
- user
id: user_remove_role_action.content_publisher
label: 'Remove the Content publisher role from the selected user(s)'
type: user
plugin: user_remove_role_action
configuration:
rid: content_publisher
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
uuid: b40918c7-be63-44a8-a2d5-c20d14401b49
langcode: en
status: true
dependencies:
config:
- user.role.content_reviewer
module:
- user
id: user_remove_role_action.content_reviewer
label: 'Remove the Content reviewer role from the selected user(s)'
type: user
plugin: user_remove_role_action
configuration:
rid: content_reviewer

This file was deleted.

This file was deleted.

This file was deleted.

14 changes: 0 additions & 14 deletions config/sync/system.action.user_remove_role_action.page_creator.yml

This file was deleted.

This file was deleted.

34 changes: 34 additions & 0 deletions config/sync/user.role.content_creator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
uuid: 488ad726-c1b4-430b-ac62-51c64bd60b43
langcode: en
status: true
dependencies:
module:
- lightning_core
third_party_settings:
lightning_core:
description: ''
id: content_creator
label: 'Content creator'
weight: 7
is_admin: null
permissions:
- 'access administration pages'
- 'access content overview'
- 'access toolbar'
- 'access user profiles'
- 'create landing_page content'
- 'create page content'
- 'edit any landing_page content'
- 'edit any page content'
- 'edit own landing_page content'
- 'edit own page content'
- 'use editorial transition archived_published'
- 'use editorial transition create_new_draft'
- 'use editorial transition review'
- 'view all revisions'
- 'view any unpublished content'
- 'view landing_page revisions'
- 'view latest version'
- 'view own unpublished content'
- 'view page revisions'
- 'view the administration theme'
47 changes: 47 additions & 0 deletions config/sync/user.role.content_publisher.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
uuid: 2782bb1f-74f1-4ac9-b2f8-5dd3cc9bfec1
langcode: en
status: true
dependencies:
module:
- lightning_core
third_party_settings:
lightning_core:
description: ''
id: content_publisher
label: 'Content publisher'
weight: 9
is_admin: null
permissions:
- 'access administration pages'
- 'access content overview'
- 'access toolbar'
- 'access user profiles'
- 'create landing_page content'
- 'create page content'
- 'delete any landing_page content'
- 'delete any page content'
- 'delete own landing_page content'
- 'delete own page content'
- 'edit any landing_page content'
- 'edit any page content'
- 'edit own landing_page content'
- 'edit own page content'
- 'revert all revisions'
- 'revert landing_page revisions'
- 'revert page revisions'
- 'schedule editorial transition archive'
- 'schedule editorial transition archived_published'
- 'schedule editorial transition publish'
- 'use editorial transition archive'
- 'use editorial transition archived_published'
- 'use editorial transition create_new_draft'
- 'use editorial transition publish'
- 'use editorial transition review'
- 'use editorial transition stage_for_publishing'
- 'view all revisions'
- 'view any unpublished content'
- 'view landing_page revisions'
- 'view latest version'
- 'view own unpublished content'
- 'view page revisions'
- 'view the administration theme'
35 changes: 35 additions & 0 deletions config/sync/user.role.content_reviewer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
uuid: abeaf14e-b04e-42f4-b009-3f5fa1f03458
langcode: en
status: true
dependencies:
module:
- lightning_core
third_party_settings:
lightning_core:
description: ''
id: content_reviewer
label: 'Content reviewer'
weight: 8
is_admin: null
permissions:
- 'access administration pages'
- 'access content overview'
- 'access toolbar'
- 'access user profiles'
- 'create landing_page content'
- 'create page content'
- 'edit any landing_page content'
- 'edit any page content'
- 'edit own landing_page content'
- 'edit own page content'
- 'use editorial transition archived_published'
- 'use editorial transition create_new_draft'
- 'use editorial transition review'
- 'use editorial transition stage_for_publishing'
- 'view all revisions'
- 'view any unpublished content'
- 'view landing_page revisions'
- 'view latest version'
- 'view own unpublished content'
- 'view page revisions'
- 'view the administration theme'
29 changes: 0 additions & 29 deletions config/sync/user.role.landing_page_creator.yml

This file was deleted.

Loading