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

Created on 6 May 2024, about 2 months ago
Updated 8 May 2024, about 2 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

Needs work

Version

10.2

Component
Toolbar 

Last updated 3 days ago

  • Maintained by
  • 🇫🇷France @nod_
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.

Production build 0.69.0 2024