Forums / Developer / Limited subtree access to a user
Mark Machullhan
Tuesday 02 December 2008 1:34:48 am
I would like to give an user access to only part of a subree
example:
Main Menu +Section1 +Section2 ++Item1 ++Itme2 ++Item3 +Section3
I would like the user to only have access to Item3 and the menu would look like:
Main Menu +Section2 ++Item3
Without full access to the parent you can't see any children objects. If you give access to the parent you can see everything under it.
And ideas?
Thank you!
Jérôme Vieilledent
Monday 08 December 2008 5:13:37 am
Hi Mark
You may use Sections for that : http://ez.no/doc/ez_publish/technical_manual/4_0/concepts_and_basics/content_management/sections
Create a specific section for your Items and then use the roles and policies to give access or not.Besides, to generate your menu, you may use the nodes' "can_read" attribute. See here : http://ez.no/doc/ez_publish/technical_manual/4_0/reference/objects/ezcontentobjecttreenode
Regards