Views and other menu items are not displayed because they are added in menu_links as "system" items.

Possibly have to expand the query to include {menu_router}, and then in php do some sort of menu_permissions thing based off of the lowest role configured.

Comments

mradcliffe’s picture

Or maybe just tell people to create real menu items instead of creating them from views.

mradcliffe’s picture

Version: 6.x-1.4 » 6.x-1.5
Status: Active » Postponed

It looks like this was discussed a bit at Drupalcon Europe 2008.

Looking through views code it looks like everything would need a complete overhaul. menu_link_save() would need to be used instead of saving things by hook_menu_alter() (this is the real culprit).

mradcliffe’s picture

Version: 6.x-1.5 » 6.x-1.x-dev
Status: Postponed » Patch (to be ported)

I added a setting to use system menus. This isn't really a solution, but there's no solution as long as there's a bug in hook_menu_alter().

mradcliffe’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

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