On one of the sites I run, certain items on the main site menu are available only to particular users, based on their roles. I've hacked that functionality into menu.inc, and was wondering whether it might be appropriate to suggest as a feature in nice_menus, as well (or should I try and pursure adding it to the core distribution?)

I did this a while ago and haven't looked back until now as I'm preparing to upgrade to 4.7, so forgive me if my details right now are spotty. Essentially, I hacked a visibility check into menu.inc, where I've added a "roles" item to the menu array, populated (if I recall correctly) by a roles column added to the main menu table. Those items which weren't available to the current user simply were dropped from the menu (obvioiusly, along with their children).

Thoughts?

Comments

add1sun’s picture

Status: Active » Closed (won't fix)

this is out of the scope for this module. access control is better handled by other modules. clearing old issues