Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Well they both do something with path access, though some fundamental differences
- path access is based on user roles
- path acces does not use menu alter. Meaning it does not hide menu items for unauthorised paths. Custom permissions does
Thank you for clarifying the difference. It was much better than the response I received from the path access maintainer http://drupal.org/node/1080314
I think I will go with yours, Custom Permissions. :)
This module will not hide menu items that lead to access denied pages. To hide unwanted menu items use Menu Per Role.
Drupal 7
The Drupal 7 version of this module uses hook_menu_alter to adjust the permissions of paths. It uses on the Chain Menu Access API to acomplish this is a clean and generic way.
Unlike the Drupal 6 version, if access is denied to a particular path, menu items that lead to that path will be hidden. If you wish to show these menu items to users who are not allowed to access them you can use the Always Visible module.
Comments
Comment #1
Docc commentedWell they both do something with path access, though some fundamental differences
- path access is based on user roles
- path acces does not use menu alter. Meaning it does not hide menu items for unauthorised paths. Custom permissions does
Comment #2
pixelsweatshop commentedThank you for clarifying the difference. It was much better than the response I received from the path access maintainer http://drupal.org/node/1080314
I think I will go with yours, Custom Permissions. :)
Comment #3
Docc commentedJust try them both and see wich fits your need
Comment #4
pixelsweatshop commentedI have been working with path access on several sites now. However, I like the idea of using menu alter feature.
Comment #5
lpalgarvio commentedupdate: