Roles for menu
Component ID
2348171
Component name
Roles for menu
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
11855
Component created
Component changed
Component body
Overview
This module allows you to restrict access to menu items based on user roles. It is used when you don't want to copy your whole menu just because for one specific role you want to hide one menu item.
The module will add a fieldset with options for restricting access or gaining access to menu link for a specific role/roles.
Features
- Show/hide menu item for specific role/roles
- Configuration is exportable with both Menu export/import and Features module because the module adds all information to the menu item options array
Requirments
The only dependency for this module is the Drupal core menu.
Notices
- For now the module only prevents users from viewing the menu item and it is not controlling the access to the destination path.
- Menu per Role and Menu item visibility modules are added as conflict modules because they are doing basically the same thing but both of them have a different approach. Both of them use own database tables which first mean more tables and more sql queries and the other is that the only way to export their settings is to export the db table.