Unable to publish nodes which have moderation states

Created on 15 December 2016, about 8 years ago
Updated 3 March 2023, almost 2 years ago

Issue with publishing nodes which have moderation states through VBO.

I get the following error when I try to publish nodes. "No access to execute on the Content ."
This was fixed with the patch from https://www.drupal.org/node/2825579 β†’ ( https://www.drupal.org/files/issues/unable_to_VBO_publish-2825579-7.patch β†’ )

I was then greeted with "One or more entities were skipped as they are under moderation and may not be directly published or unpublished." when I tried to publish the node.

To fix this I had to create a new action in VBO based on gravypowers code https://gist.github.com/gravypower/b16fd52474b8ddad883215af85fa898a

The above solution only works as UID 1.

Joz

πŸ› Bug report
Status

Closed: duplicate

Version

8.5 ⚰️

Component
Content moderationΒ  β†’

Last updated 24 days ago

  • Maintained by
  • πŸ‡¦πŸ‡ΊAustralia @Sam152
Created by

πŸ‡¬πŸ‡§United Kingdom jozzy_a

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States loopy1492

    The fact that you can't just publish nodes that are "under moderation" is super obnoxious. We're also getting "cannot be edited" messages too. I have no idea how I can publish this content that is in a draft state even as an administrator.

Production build 0.71.5 2024