Hello, I’m trying to give permissions to an admin account that would allow a particular admin to edit a given set of pages within a parent. I know how to setup the manager permissions but the admin can edit the parent document as well which I am trying to stop.
+parent (590)
++child 1 (591)
++child 2 (592)
I want to allow the user to edit the 2 child docs which I set to the admin group but if you do not allocate the parent to that admin group, the child docs do not show up in the doc tree. If you allocate the parent to the admin group then the admin can now edit that document as well, which I don’t want. How can you get around that?
Also I am using a plugin for these child docs and I want the plugin to only fire on these pages. I would normally use the follow if statement to only work on a given document but can I allow this to work for all documents within a parent?
if ( $modx->documentIdentifier == 590 ) { my code }
Thanks!