Super admin can't see menu items not allowing access to "authenticated user"

teknocat - June 26, 2009 - 17:31
Project:Menu per Role
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:teknocat
Status:closed
Description

Because the "menu_per_role" function only checks allowed role IDs against the current user's roles, the super admin (whose only role is "authenticated user") is not able to see menu items that are restricted to specific roles that don't include "authenticated user".

I have resolved this for my purposes using the attached patch file.

AttachmentSize
menu-per-role-patch.diff747 bytes

#1

leeomara - June 26, 2009 - 17:37

#2

AlexisWilke - June 26, 2009 - 19:25
Status:active» fixed

This is applied in the -dev. Should appear within 12h.

Thank you.
Alexis

#3

System Message - July 10, 2009 - 19:30
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.