Menu item access to nodes without proper rights

lodderig - August 1, 2009 - 22:21

How do I achieve that menu items appear for anonymous users in drupal 6, even when they do not have the rights to access the underlying nodes? (So that I can refer to a custom 403 page). By default Drupal does not display items referring to nodes that are not accessible for that user's role.

I succeeded in doing the opposite (not displaying menu items for nodes with access rights for anonymous users) by means of the menu access module, but the other way arround does not work.

Any suggestions?

thx

Lod

What exactly do you want to

HershelSR - August 2, 2009 - 01:05

What exactly do you want to achieve? A custom 403 page is generally not relevant with Drupal b/c access to Drupal is allowed, whereas 403 means no access--what I mean is that Drupal provides its own version of a 403.

Perhaps check out: http://drupal.org/project/protected_node or similar modules.

--
CiviHosting - Drupal Hosting at its Best

I want to display a menu item linked to an unaccessible node

lodderig - August 2, 2009 - 06:31

Thanks.

I'm looking for a way to display a menu item without giving access rights for the underlying node as it used to be in Drupal 5.

An anonymous user should see the full menu structure of the members menu, without having access to underlying nodes when they click the menu item. e.g. in a menu called 'Services' an anonymous user should see the item 'legal advice' but when clicking this menu item is redirected to a page with an invitation to become a member, while memebers should see the page where is written how to get the advice.

I have tried a combination of the modules content access, custom 403 and menu item access, but this does not work out.

Me too

succhi - August 5, 2009 - 06:07

I used to have a restricted page called 'agents' show in the primary menu, when they clicked on the menu item the page would say it is denied however it would show a login box. It was perfect, I didn't need the login box in the UI cluttering and confusing things. However now I can't show the menu item to get to this restricted page any longer.

Does anyone have an idea on how to get a restricted node to show in the menu?

Stu

same problem, did you managed

amolinari - October 23, 2009 - 14:21

same problem, did you managed to solve it ?

 
 

Drupal is a registered trademark of Dries Buytaert.