Can't update accordion or tab labels for non-admin users

Created on 11 August 2025, 2 months ago

Problem/Motivation

On a Drupal 10 install using Mercury Editor 2.2.4 and Mercury Editor Tabs 1.1.x-dev, while logged in as a non-admin user that does not have "bypass content access control" checked, attempts to update the labels in me_tabs or me_accordion layouts produce 403 errors from editor-ui.js's ajax calls to editLabel.

Steps to reproduce

Log in as a non-admin user without "bypass content access control" checked on its assigned role, then edit a tabs/accordion piece of content and edit the tab/accordion item label. When saveLabel in editor.js fires, its Drupal.ajax call generates a correct path for the routing, but returns a 403 error when executing. If you log in as an admin or check "bypass content access control", this ajax call completes successfully.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.1

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024