Missing Top Level Menu Item

Created on 23 February 2024, 10 months ago
Updated 28 February 2024, 10 months ago

Problem/Motivation

In some situations when Admin Toolbar Tools is enabled, users with access to /structure/taxonomy do not have the top level Structure menu item, limiting their visibility to Taxonomy management.

Visiting /structure results in an Access Denied error message.

Visiting /structure/taxonomy works properly.

The issue exists when a user has create, edit, and delete term permissions on specific vocabularies, but does not have the "Administer vocabularies and terms" permission enabled.

When Admin Toolbar Tools is not enabled, the Structure and Taxonomy menus appear properly.
When Admin Toolbar Tools is enabled, the Structure and Taxonomy menu items do not appear unless the "Administer vocabularies and terms" permission is also enabled.

This is inconsistent with core Drupal functionality.

Steps to reproduce

  • Enable user role permissions for "Use the toolbar," "Use the administration pages," "Access the taxonomy vocabulary overview page," and create/edit/delete permissions for your selected vocabularies.
  • Verify that the user role has a top level Structure menu item.
  • Verify that the user role has access to /structure
  • Verify that the user role has access to /structure/taxonomy
  • Enable Admin Toolbar Tools
  • See the Structure menu is no longer present
  • Note the Access denied error when visiting /structure
  • Note the user continues to have access to /structure/taxonomy
  • Disable Admin Toolbar Tools and proper functionality is restored

Proposed resolution

TBD; access to these pages should be consistent whether Admin Toolbar Tools is enabled or not.

πŸ› Bug report
Status

Closed: duplicate

Version

3.4

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States kevinb623

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

Comments & Activities

Production build 0.71.5 2024