Is this module pretty much the same as http://drupal.org/project/path_access ?

Comments

Docc’s picture

Assigned: Unassigned » Docc
Status: Active » Closed (won't fix)

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

pixelsweatshop’s picture

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. :)

Docc’s picture

Just try them both and see wich fits your need

pixelsweatshop’s picture

I have been working with path access on several sites now. However, I like the idea of using menu alter feature.

lpalgarvio’s picture

update:

Drupal 6

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.