We've got a section of our website community where one can create a personal page with a couple of childpages. I would like to set the access rights for the person creating the page to Read, Create, Delete and Publish for this page and its child pages (preferably to apply these settings for all the pages created under this page).
How do I set these access rights in the code when creating the top page?
The easy solution is to make owner always have read,create,delete and publish
then you don't need to worry about it
That's actually how I've done it right now but I thought there would be a more "correct" way to do it. :)