I've experienced a strange bug where I grant permissions to a user of a specific role and the menu doesn't generate. I've cleared the cache, but it only seems to work when I disable and re-enable the module.

I remember there's a rebuild menu in version 2, but I don't see it in version 3.

Comments

sun’s picture

Status: Active » Postponed (maintainer needs more info)

We need much more details on those modules + permissions you mentioned here.

smk-ka’s picture

I'm seeing this behavior too for a user without 'administer site configuration' permission. Admin menu is completely blank except for the icon. menu_tree_all_data('admin_menu') returns an empty array.

After granting 'administer site configuration' permission it works surprisingly. I say 'surprisingly', because I'd expected the Settings menu would be filled with entries, but the Settings menu is empty, just like as the user didn't have 'administer site configuration' permission! All other menus and entries appear and seem to be complete. Weird!

And it gets even better: although the user now has 'administer site configuration' permission, I'm not allowed to access http://example.com/admin_menu/flush-caches/*. What's going on here?

elly’s picture

I have a similar issue - though the user has various permissions such as "administer menus" and "administer nodes" the admin menu appears completely blank, save for the druplicon in the corner. I've tried resetting the menu, rearranging the menu, etc, to no avail.

sun’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Sorry, without further information this issue can only be closed as not reproducible.

Feel free to re-open this issue if you want to provide further information. Thanks.