Hamster wrote > > If we grant rights to a group of users to view a page, we would like to > grant that right also to all the (sub)children of that page. >
In a theory - yes. You should have event listener "on change" for parent page. In this event listener need to define your type of changes (only page rights changes), after - should search all child pages and make changes to its rights same as parent page. But in realty - mechanism of event listeners cannot work normally in production - for example, because it is not possible to have enabled event listeners after restarting application server. Every time after restarting need to starting event listeners manually. Of course, existing some possibilities to resolve this, bu all of them are not normally documented and looks like "roof on the roof". Existing and another problems with event listeners ... For the XWiki platform need to well-organized mechanism of event listeners ... For example, same how is organized Scheduler. Some place, where I can create event, select type of them, enable it, look for logs and etc. -- View this message in context: http://xwiki.475771.n2.nabble.com/Apply-rights-automaticly-to-child-pages-tp7580100p7580105.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
