Users that don't have access to menus, based on roles, can still see the icons

Created on 6 May 2024, 6 months ago
Updated 3 July 2024, 5 months ago

Problem/Motivation

I noticed that users with roles that have permissions that are disabled can still see those menu items. Although the menu item is not accessible, it becomes confusing because the icons are still displayed as well as the arrows.

Steps to reproduce

Currently using 10.2.5
After turning on New Drupal Navigation, create a role with a user that does not have access to People or Reports. Log into that role and view the sidebar. The result is as follows

Proposed resolution

Menu icons should not be displayed.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Closed: outdated

Version

10.2

Component
Navigation 

Last updated 1 day ago

No maintainer
Created by

🇺🇸United States anthonyroundtree

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

Comments & Activities

  • Issue created by @anthonyroundtree
  • 🇮🇳India arunkumark Coimbatore

    @anthonyroundtree

    Verified the Drupal core 10.2.x version, Found that Navigation module not exist in repository. The navigation experiment module was added from the 10.3.x version only. Attached are screenshots for reference.

    Drupal 10.2.x code base

    Drupal 10.3.x code base

    Verified the same issue on 11.x version working fine.

  • Status changed to Closed: outdated 5 months ago
  • 🇳🇿New Zealand quietone

    Yes, Navigation module is not in 10.2 perhaps this was the contrib version? I also tested this on Drupal 11.x today and was not able to reproduce the problem. Due to the confusion about version and the results of my testing I am closing this as outdated. If that is incorrect, re-open the issue.

    Thanks.

Production build 0.71.5 2024