Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Menu's are permission based, if the user has access to the specified path, then the menu appears, if not the menu wont appear.
If you wnat to create role based content, use some node access modules Ex;taxonomy_access, tac_lite, node_privacy_by role, Simple access etc.
if you use these modules and create the content and then create the menu in menu item, the menu will be dispalyed to thsoe who has teh access to taht particular node.
Download and install one of the access modules. I use taxonomy_access, with this I can set up categories such as public and private. I only allow registered users to see the private stuff. This means that access to the content can be restricted by role.
Unfortunately, I have found that the links in the menu remain visible even when access is restricted with all of the access modules I have tried - which is I think what you are after.
In Drupal 4.6.6 the menus appear only when the user have access to that page. The same thing is true with Drupal 4.7, but to my surprise, the functionality seems to be no more in 4.7. if the permission to the page is denied and still the menu is being displayed.
It worked earlier on 4.7 may be in RC, I didnt remeber i am using latest CVS. On reading this post I tested and noticed that its not working as expected.
Comments
menu permissions
Menu's are permission based, if the user has access to the specified path, then the menu appears, if not the menu wont appear.
If you wnat to create role based content, use some node access modules Ex;taxonomy_access, tac_lite, node_privacy_by role, Simple access etc.
if you use these modules and create the content and then create the menu in menu item, the menu will be dispalyed to thsoe who has teh access to taht particular node.
Sunny
www.gleez.com | www.sandeepone.com
Sorry I don't understand ...
Sorry I don't understand ...
I want to that some menus (node)can visible for defined groups
--
...Falu...
Download and install one of the access modules
Download and install one of the access modules. I use taxonomy_access, with this I can set up categories such as public and private. I only allow registered users to see the private stuff. This means that access to the content can be restricted by role.
Unfortunately, I have found that the links in the menu remain visible even when access is restricted with all of the access modules I have tried - which is I think what you are after.
thx
Thank You!
I have downloaded simple_access module, and it works fine :-)
...Falu...
Really? Does simple_access
Really? Does simple_access hide/show menu links based on the roles?
Soemthing strange in 4.7
In Drupal 4.6.6 the menus appear only when the user have access to that page. The same thing is true with Drupal 4.7, but to my surprise, the functionality seems to be no more in 4.7. if the permission to the page is denied and still the menu is being displayed.
It worked earlier on 4.7 may be in RC, I didnt remeber i am using latest CVS. On reading this post I tested and noticed that its not working as expected.
Sunny
www.gleez.com | www.sandeepone.com
So is this a bug in Drupal
So is this a bug in Drupal 4.7 then? Has it been reported? I need this functionality for a site I'm currently building for a client.
I am having the same problem
I am having the same problem using 4.7.3 - Is this a bug?
I found a patch
http://drupal.org/node/16542
Seems to work.