Add a Publish Experience Builder Content permission

Created on 12 June 2025, 11 days ago

Overview

In ๐Ÿ“Œ SdcController cleanup tasks Active we defined a Content Manager ( the in the Drupal CMS personas โ†’ ).

User with permission โ€œPublish Experience Builder Contentโ€ must have access to edit all underlying entities at the time of publishing, in order to be able to publish changes.

Proposed resolution

  • Create a new permission.
  • Use it in experience_builder.api.auto-save.post
  • Test in \Drupal\Tests\experience_builder\Kernel\ApiAutoSaveControllerTest::testApiAutoSaveControllerPost that we can't publish without it.
  • Update tests in publish-review.cy.js and publish-validation.cy.js

User interface changes

"Publish X changes" is only visible for users with this permission.

๐Ÿ“Œ Task
Status

Postponed

Version

0.0

Component

Internal HTTP API

Created by

๐Ÿ‡ช๐Ÿ‡ธSpain penyaskito Seville ๐Ÿ’ƒ, Spain ๐Ÿ‡ช๐Ÿ‡ธ, UTC+2 ๐Ÿ‡ช๐Ÿ‡บ

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

Comments & Activities

Production build 0.71.5 2024