Content Editor encounters permission error when publishing Article

Created on 22 April 2025, about 1 month ago

Overview

When a Content Editor tries to publish an Article page, they encounter a permissions-related error preventing the action.

Steps to reproduce:

  1. Log in as a Content Editor.
  2. Create a new Article page.
  3. Attempt to publish the Article.
  4. The following error message is displayed:
You do not have access to transition from Draft to Draft.

Proposed resolution

User interface changes

πŸ› Bug report
Status

Active

Version

0.0

Component

Page builder

Created by

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

Comments & Activities

  • Issue created by @mayur-sose
  • πŸ‡§πŸ‡ͺBelgium wim leers Ghent πŸ‡§πŸ‡ͺπŸ‡ͺπŸ‡Ί

    You do not have access to transition from Draft to Draft.

    This is a validation error from \Drupal\content_moderation\Plugin\Validation\Constraint\ModerationStateConstraint, so seems impossible to be an XB bug? πŸ˜…

  • πŸ‡§πŸ‡ͺBelgium wim leers Ghent πŸ‡§πŸ‡ͺπŸ‡ͺπŸ‡Ί
    • By default, the "Save as" option is set to "Draft."
    • When a Content Editor attempts to create an Article, they do not have access to the "Save as" optionβ€”it is not visible on the page.
    • As a result, the Content Editor encounters the following error: "You do not have access to transition from Draft to Draft."
    • Suggestion: Can we make the "Save as" option visible to the Content Editor? This would allow them to change the status from Draft to Published, enabling successful article creation.
    • On the Home β†’ Administration β†’ People page, the Content Editor currently has the "Article: Create new content" permission.
  • πŸ‡§πŸ‡ͺBelgium wim leers Ghent πŸ‡§πŸ‡ͺπŸ‡ͺπŸ‡Ί

    πŸ₯³ β€” thanks!

Production build 0.71.5 2024