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.

Comments

mxgfx’s picture

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.

mxgfx’s picture

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.

chrisshattuck’s picture

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

chrisshattuck’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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