Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
mradcliffeOr maybe just tell people to create real menu items instead of creating them from views.
Comment #2
mradcliffeIt 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).
Comment #3
mradcliffeI 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().
Comment #4
mradcliffe