Closed (won't fix)
Project:
Menu Per Role
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Jun 2007 at 11:57 UTC
Updated:
9 Nov 2011 at 09:30 UTC
I installed menu_per_role module and path to menu.inc and for example users can't see my private menu but If users know path they can access to it ! Is it normal ?
Comments
Comment #1
fagono, it isn't. probably it's a special case, where another (not visible) menu item is stepping in and doing the work.
Comment #2
FreeFox commented+1 I have the same problem. (using DP 5.2, patched as described)
I created a new page, gave it the menu item "Testing" and set the URL to "test". It showed up in the menu.
Then I restricted the menu "Testing" to the group "admins" only. I logged out and the menu item "Testing" was gone. Then I entered "www.mysite.com/test" in the address bar of the browser and the content of the restricted page is visible (not the menu item).
Does the module only hides the menu items or should it really restrict the content too? If not, it would be great if you could add this feature.
Thanks in advance
Comment #3
FreeFox commentedI tried experimenting to use the patch lines in some other places that would show the nodes but I can't figure out where it should go to work. Could someone help out please?
Comment #4
sfinerty commentedI use a combination of Content Types (CCK module) and Taxonomy Access Control to restrict access to pages (nodes). It's a good idea to think about the structure of your site content and how you want to break it down for a couple of reasons:
1) To make the site easier to navigate
2) To control access for different roles to different content
With the CCK (Content Creation Kit) you can define any number of content types (although I'm pretty sure this is available in the core of 5.1 and up) and restrict access to specific roles.
Using the TAC module, you can restrict access to any category or sub-category and as long as you apply a category to your node, it will be restricted.
My understanding of this module is that it only makes specific menu items available to the defined roles although I have not been able to get this to work yet. I am still getting my menu items showing up for every role even though I have restricted them.
I haven't applied the patch yet though, so will try that...
Comment #5
AlexisWilke commentedThis is 3 years old... I'm closing it. Hopefully you'll be able to upgrade to 6.x and get that resolved. There are no 5.x maintainers.
Comment #6
yanni22 commentedcan this be added to D7?
Comment #7
AlexisWilke commentedyanni22,
I think you'd need to post a new issue if you want to have a chance to get this done in 7.x.
I'm not working on v7.x though.
Good luck,
Alexis Wilke