Posted by teknocat on June 26, 2009 at 5:31pm
Jump to:
| 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.
| Attachment | Size |
|---|---|
| menu-per-role-patch.diff | 747 bytes |
Comments
#1
Seems related to #189971: Admin cannot access menu once another role has been selected.
#2
This is applied in the -dev. Should appear within 12h.
Thank you.
Alexis
#3
Automatically closed -- issue fixed for 2 weeks with no activity.