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.

CommentFileSizeAuthor
#6 navbar-empty-menu-1959632.patch4.13 KBjessebeach

Comments

saltednut’s picture

I 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.

saltednut’s picture

Category: bug » feature

Although I don't quite agree that it is a bug. More like a UX feature request?

jessebeach’s picture

Category: Feature request » Bug report
Issue summary: View changes
jessebeach’s picture

Issue tags: +rc-blocker
jessebeach’s picture

Status: Active » Closed (duplicate)

closing as a duplicate of #1944950: User permissions Navbar empty.

jessebeach’s picture

Status: Closed (duplicate) » Needs review
StatusFileSize
new4.13 KB

Sorry, 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?

jessebeach’s picture

Status: Needs review » Fixed

This 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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.