Hello Thomas, thank you for your reply. Thomas Mortagne wrote:
On Thu, May 26, 2011 at 09:19, Vincenzo Brancato <[email protected]> wrote:
It's something you did, right ? Because that does not exists in standard XE as far as I know (parent/children right inheritance I mean).
You're right. The new site inherits the rights of the space not of the parent page. I checked this. Thomas Mortagne wrote:
On Thu, May 26, 2011 at 09:19, Vincenzo Brancato <[email protected]> wrote:
There is a easy but not so clean way and a pretty hard but cleaner way on the long run: * you could write a listener (see http://extensions.xwiki.org/xwiki/bin/view/Extension/Observation+Module+Loca...) which, each time a document right is modified, reproduce it's right configuration to its children documents. You can even add the support for new child page in the same listener so that you support when a document parent is changed. * the hard way is to modify the right system itself so that it look at document parent right before looking and document space rights. See https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwik...
Both solutions are not very handy. Is there any possibility to set the new rights recursively to the child pages via bash directly in the server? I don't understand why this very important feature is not included in Xwiki right now. Am I the only person that needs a feature like this? I don't think every person that needs that feature writes his own script or is even able to. There has to be an alternative. -- Enzo -- View this message in context: http://xwiki.475771.n2.nabble.com/Set-rights-for-parent-page-and-recursively... Sent from the XWiki- Users mailing list archive at Nabble.com.