As an authenticated user
I want to be able to use the Drupal OOTB workflow
So that I can save drafts and have my work reviewed before it's published
Description
Acceptance Criteria
AC 1 - Author
Given I’m an author
When I use the workflow
Then I can use the Create new draft transition
And the Needs review transition
AC 2 - Approver
Given I’m an approver
When I use the workflow
Then I can use the Create new draft transition
And the Needs review transition
And the Publish
And the Archive transition
AC 4 - Workflow applies to
Given I’m an admin
When I look at where the workflow is applied
Then i see it is applied to:
-
Custom block types
-
Media types
-
Content types
|
Transition name |
Transition from |
Role |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Comments
Comment #2
alex.skrypnykComment #3
fionamorrison23 commentedComment #4
alex.skrypnykComment #5
alex.skrypnykComment #6
alex.skrypnykWe also need to namespace the editorial workflow with `civictheme_` prefix, so it becomes `civictheme_editorial`.
But there is an issue with https://www.drupal.org/project/drupal/issues/3088534 that assumes `editorial` workflow for the view installed by the install profile.
We need to do the following:
1. Identify where the view is installed from - standard profile or workflow moderation module etc.
2. Update this view to use `civictheme_editorial` workflow and update all filters.
3. Export the view and ship it as `config/install` config (required config since this becomes a core CivicTheme's feature).
We may also need to create an update hook for existing editorial workflows, but it would be more consistent to simply apply the configuration shipped in `config/install` to the existing site and overwrite their existing view config.
Comment #8
alex.skrypnykComment #10
alex.skrypnykImplemented, tested and merged. Will be released in 1.7