Download & Extend

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

Project:Menu per Role
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:teknocat
Status:closed (fixed)

Issue Summary

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

Comments

#1

#2

Status:active» fixed

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

Thank you.
Alexis

#3

Status:fixed» closed (fixed)

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