- Issue created by @allens1015
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.
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.
Active
1.1
Code