Project:Menu Node Views
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

When you place a drupal menu block, menu items that the user does not have access to are not displayed. However, when building a menu view with this module, all menu items are shown regardless of user permissions.

Comments

#1

Yup. Care to work a patch?

#2

Note: I think we need a hook_views_query_alter() here, to assert that {menu_links}.hidden == 0. Not sure, however.

#3

Here is the basis for a full patch. This adds filters for 'hidden', 'external', 'has_children' and 'external' columns. These need better handlers.

For now, set the filter 'Menu: Visibility" to 'is equal to' zero.

AttachmentSize
527514-filter.patch 2.14 KB

#4

Status:active» needs review