Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Although i'v disabled a menu item for the administator-role, it still appears.
Secondly i tried to create an other user (then uid=1) with administrator role, but the menu stil appears.
For other roles, it works well.
Comment | File | Size | Author |
---|---|---|---|
#1 | menu_per_role-1380556-1.patch | 496 bytes | fizk |
Comments
Comment #1
fizk CreditAttribution: fizk commentedJust ran into this issue. This patch works for me using 7.x-1.x-dev Jun 30, 2011.
Comment #2
fizk CreditAttribution: fizk commentedComment #3
AlexisWilke CreditAttribution: AlexisWilke commentedThat makes sense in D7.
Thank you.
Alexis
Comment #5
rajeesh CreditAttribution: rajeesh commentedI applied the patch in #1 but this not working properly. Once we hide the menu for super admin, it won't show again even for editing. So how the super admin will see and edit the menu items in future?
Comment #6
AlexisWilke CreditAttribution: AlexisWilke commentedThat's kind of why you're not supposed to hide anything for the administrator...
Otherwise you have to know the URLs by heart and enter them in your URL.
Thank you.
Alexis Wilke
Comment #7
fizk CreditAttribution: fizk commented