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
Sidebar with icons displayed, but text is not displayed

Proposed resolution

Menu icons should not be displayed.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Comments

anthonyroundtree created an issue. See original summary.

arunkumark’s picture

StatusFileSize
new811.23 KB
new817.63 KB
new247.01 KB

@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.2.x

Drupal 10.3.x code base
Drupal 10.3.x

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

quietone’s picture

Component: toolbar.module » navigation.module
Status: Needs work » Closed (outdated)
Issue tags: +Bug Smash Initiative

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.