Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Provide actions for moderation state change #448

Open
carldawg opened this issue Apr 20, 2020 · 3 comments
Open

Provide actions for moderation state change #448

carldawg opened this issue Apr 20, 2020 · 3 comments

Comments

@carldawg
Copy link

Problem

Content published/moderation state cannot be updated in bulk when using content moderation.

Solution

Apply a patch to dynamically provide an action plugin for each moderation state change: https://www.drupal.org/project/drupal/issues/2797583#comment-13235791

@Belhendo
Copy link

Hi @carldawg

Thanks for your request. Could you please provide some more detail about which agency you're representing, and also an idea of the user scenario for when this functionality would be useful. This will help other members of the community contribute if they also see use in your idea.

Thank you

Belinda

@simesy
Copy link
Contributor

simesy commented Apr 22, 2020

The patch itself is not too risky. If for some reason it needed to be removed it should just remove the extra bulk operation steps.

But I should note that the architecture of the patch has been questioned.

@KatieAK-enviro
Copy link

Hi Belinda,

Carl has raised this issue on behalf of the Department of Agriculture, Water, and the Environment (I am a Departmental employee and the product owner of the project Carl is working on).

The use case for this request is to allow content editors to bulk publish content that has content moderation enabled, to reduce the time required at at "publication events" to manual edit each node to change it to published states.

  • Content moderation is enabled on all content types on our site, for a best practice workflow and to allow us to use functionality associated with drafts and revisions (important)

  • Content editors semi-frequently need to prepare high volumes of content across seperate nodes (for example, we use the book module to manage longform reports), which are kept in draft state until it's appropriate to publish all of the content simultaneously. This content all has to be manually individually published, which is time consuming and can lead to content being missed.

  • It is currently possible for content editors to attempt to use a bulk publication action, but this returns an error if any of the content is of a type with a moderation workflow enabled, regardless of the permissions of the content editor. This is confusing and frustrating for our content editors.

Thanks,
Katie

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants