I gave anonymous and authenticated users the permission to use the navbar with the idea that this could act as a great responsive menu. However I realized that there is no permission check when rendering the management menu to ensure the user can see this menu.
This in turn gives the user the menu icon, however when clicking on the icon they get nothing in the menu drop-down, leading to confusion for the user.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | navbar-empty-menu-1959632.patch | 4.13 KB | jessebeach |
Comments
Comment #1
saltednutI agree this is a confusing thing to come across for some low-level users.
I also would like to provide access to 'Home' 'Shortcuts' and the user menu to some users but also not show them the 'Menu' since it is empty for them.
Comment #2
saltednutAlthough I don't quite agree that it is a bug. More like a UX feature request?
Comment #3
jessebeach commentedNo, this is a bug. Tracking in 8.x drupal branch: #2135445: Toolbar displays Manage tab even if the user is not permitted to see it
Comment #4
jessebeach commentedComment #5
jessebeach commentedclosing as a duplicate of #1944950: User permissions Navbar empty.
Comment #6
jessebeach commentedSorry, I incorrectly marked this as a dupe of #1944950, but they are not the same.
I've got a solution for this issue in #2135445-3: Toolbar displays Manage tab even if the user is not permitted to see it for Drupal 8.
Can folks test this out on D7 to make sure it resolves the empty menu issue?
Comment #7
jessebeach commentedThis fix has been in place for two weeks. I'm going to assume that it is working. If you find that the fix does not resolve the issue, please reopen this issue or create a new one.