Closed (fixed)
Project:
Tasty Backend
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
6 Mar 2018 at 14:26 UTC
Updated:
20 Mar 2018 at 14:59 UTC
Jump to comment: Most recent
To remove the default "Manage" tab in the toolbar that opens up Drupal's default Administation menu the module checks if the current user has the administrator role in a hook_toolbar_alter(). This has caused some confusion when the administrator role either wasn't present or wasn't assigned to users who still needed access to that menu as described in #2941338: Turn off for administrator.
Let's change that check to a new permission so it can be assigned to other roles as needed and ensures that the default administration menu isn't removed from user 1.
Comments
Comment #3
jeni_dc commentedI've added a new "access default administration menu" permission which is used when the access to the administration menu is altered.