Posted by claudiu.cristea on July 11, 2007 at 4:29pm
Jump to:
| Project: | Content Access |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
If a node have attached a menu item, the Control Access rules are not applied to the menu item too. Users (roles) that are not allowed to view that node are still able to see the menu item related to the node.
The module must handle this in the way that: if a role is not allowed to view a node than the possible menu item related to this node must be hidden to this role.
Comments
#1
hm I think that's not in the scope of this module. Unfortunately that can't be changed easily by content-access. Perhaps, that would be better fixed in drupal itself.
#2
I was searching for the same thing - there are actually references to this module that this would be a possibility (hiding menu items with content that are not accessible for the active user).
After hours of testing/searching I finally found the answer: use the module "Remove Non-viewable Menu Items" http://drupal.org/project/remove_nonviewable_menu_items.