The problem of non inheriting rights walking the menu tree
-
;Hi,
I often meet the following problem :
When a menu element is moved from a menu branch to another, the admin commonly imagine by instinct that the rights of the top parent into the new branch are inherited by the children elements.
If the rights of the element moved are more restricted that those of the new parent, the element will simply not appear into the structure if the current user has not the rights, that’s normal. The admin must care to the rights of each element with the question “allow to who”.
But, this is the current behavior, if the child element has lower rights the effect, if the child element doesn’t inherit of the limitations of the rights of the parent, is that the menu hierarchy will be broken and that the element will be displayed anywhere into the menu (this depends of the css of the menu, most commonly one or several lines of orphans elements can appear when you reorganize the menu).
This lead the admin to create separately (with excel for example) a full list of the menu with as columns content the hierarchy of rights, and to organize everything manually and after the job ended copy each check box to the menu manager… which job is fully boring long and lead to a great risk of errors and accidentally awful menu displays.
There is a partial solution that I propose, the children would always inherit of the limitations of the rights of the parent. This would make much more easier the migration of menu element from one branch to another, and the administrator would only to just care of the accesses that have to be directly limited for the current element of menu.
Best regards
Trebly
- The topic ‘The problem of non inheriting rights walking the menu tree’ is closed to new replies.