Hi together,
I would need help with a custom script. The main goal is, that a moved page gets the same restrictions as the new parent page...
I already know that a custom script has to listen to the "PageMoveEvent", but also our developer would need some inspiration how he can develop that script...
Use case:
- Space A (anonymous access)
- Page A (edit-restrictions for a special confluence-group - no inherited restrictions for sub-pages)
- Page B (only confluence-users can view the pages --> inherited restrictions for sub-pages)
All newly created pages will be under Page B --> Non-confluence users will not see these pages. After the pages are approved, they will be moved the Page A and should get the same restrictions as Page A.
The Build-In Script form the Scriptrunner for inherited restrictions unfortunately only work for newly created pages, but not for moved pages.
Thanks in advance and best regards
Alex