Closed (fixed)
Project:
Menu Subtree Permissions
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Anonymous (not verified)
Created:
27 Apr 2009 at 13:14 UTC
Updated:
5 Feb 2016 at 01:04 UTC
Jump to comment: Most recent
Comments
Comment #1
rwohlebI'll take a look.
Comment #2
slosa commentedI really need to give permissions to an entire menu and all its children as well. particularly from the menu settings section of the edit page screen.
Comment #3
ShaneEaston commentedWe were using this module for D5 and when we upgraded to 6 this stopped functioning.
Comment #4
diederik_2mpact commentedSame problem here, I'd like to restrict user permissions to a complete menu rather than to a subtree. How can I do this?
Comment #5
rubs commentedNot sure if this is the same subject, but it seems that changing the permissions on the root level does not do anything. Thus, when creating or editing a page, the root level e.g. "" never appears in the combo box inside the Menu Configurations group.
Comment #6
zilverdistel commentedsubscribing
Comment #7
otterb commentedSubscribe
Comment #8
Hk001 commentedSubscribe
Comment #9
stefan vaduva commentedI had the same problem for node creation form (permission set on the root menu but no items in the parent menu select box when I'm creating a new node). After a quick look I've seen that the items are removed from parent menu select box even if the user has access for the root menu. I've solved my problem by modifing the code:
find
change to
Please note that this solution is ONLY for the node creation form.
Comment #10
stefan vaduva commentedAlso, I think that _menu_stp_has_perms_roles needs to be changed to handle the case when an item has as a direct parent another menu that doesn't have valid permission, but is bellow a root level menu that has valid permission. I hope it makes sense :).
I can't really look into this now, but if nobody will, I'll try to solve this tomorrow.
And rwohleb, thanks alot for this module! Is very useful (at least for me).
Comment #11
lucascaro commentedhi stefan, could you check this issue? I'm having the same problem on node/*/edit for menus that are direct childs of an allowed root menu and no menu options show in the form (_menu_stp_has_perms_roles($plid, $rids)) on line 123 returns false)
Comment #12
drasgardian commentedsubscribe
Comment #13
emptyvoid commentedPerhaps I'm totally missing the issue here but what you are describing seems to be the idea of cascading permissions for menus and menu items. Just a note the menu_access module does just that.
Comment #14
Anonymous (not verified) commentedThis has been implemented as part of the development path of Advanced Menu (http://drupal.org/project/advanced_menu). I recommend using that module.