xb_config_entity has wrong operation, should be 'update'

Created on 11 July 2025, 8 days ago

Overview

xb_config_entity.edit is incorrect, the operation is 'update', not 'edit'

Per \Drupal\Core\Entity\EntityAccessControlHandler::checkAccess

   * @param string $operation
   *   The entity operation. Usually one of 'view', 'view label', 'update' or
   *   'delete'.

Proposed resolution

Fix routing to use 'update' not 'edit'

User interface changes

πŸ› Bug report
Status

Active

Version

0.0

Component

… to be triaged

Created by

πŸ‡ΊπŸ‡ΈUnited States mglaman WI, USA

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

Comments & Activities

  • Issue created by @mglaman
  • πŸ‡§πŸ‡ͺBelgium wim leers Ghent πŸ‡§πŸ‡ͺπŸ‡ͺπŸ‡Ί

    😱 So why does this even work?! Ah … because we're only special-casing delete, and EVERY OTHER OPERATION, including non-existing ones, get the same treatment.

    Simple fix :)

    Nice catch!

Production build 0.71.5 2024