Supernav menu items enabled/disabled for specific role types
mxgfx - March 10, 2008 - 05:41
| Project: | Super Nav |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
It appears as if there is no documented way of restricting certain menu items from being displayed. This becomes a concern when dealing with something like a "Moderator" role. They shouldn't be able to view a "Site Building" button when they have no permissions to change anything on that page. Allowing the admin to enable or disable certain supernav items per role would be a welcome addition to an already amazing module.

#1
Disabling "Compose Tips" and "My Account" from the main Navigation does not remove them from every instance of SuperNav. However, I can rename the "title" for those menu items. Those effects do take place.
#2
Update: Dropping those links into a navigation folder that is inaccessible to the user will hide them. Apparently there is a problem within the module itself that doesn't hide disabled menu items. I'll post this in the issues section as well.
#3
Hi Folks,
Thanks for testing this out. I identified the problem and have uploaded a fix.
Super Nav should only render menu items that the user has permission to see. The 'Enabled' checkbox was throwing it off, though, but the fix was simple enough.
You can download the latest version via CVS or wait until it is packaged again.
Thanks!
Chris
#4
#5
Automatically closed -- issue fixed for two weeks with no activity.