tires Posted March 26, 2024 Share Posted March 26, 2024 I am a little confused. As far as I remember, on my older Processwire pages, I can only move pages within the parent page (i.e. change the positions of the siblings). Now I've noticed that I can (recently?) move them across the entire page tree. How can I limit the moving of pages? I didn't get any further by setting the user rights. Link to comment Share on other sites More sharing options...
MarkE Posted March 26, 2024 Share Posted March 26, 2024 One way, if your parent pages have different templates and their children should also have distinct templates, is to use the template family settings. Otherwise I think you may need to hook Pages::moveReady - see https://processwire.com/api/ref/pages/move-ready/ 1 Link to comment Share on other sites More sharing options...
tires Posted March 26, 2024 Author Share Posted March 26, 2024 Thank you for your reply. It works for me as a superuser. But the editor gets a warning message that he does not have the right to move pages (below this particular parent page). What rights do I need to give him to make this work? I have already spent half an hour unsuccessfully clicking through all the templates and role settings ... Link to comment Share on other sites More sharing options...
MarkE Posted March 26, 2024 Share Posted March 26, 2024 On 3/26/2024 at 10:42 PM, tires said: But the editor gets a warning message that he does not have the right to move pages (below this particular parent page) Expand Have you tried giving the editor role page-sort permission on the parent template? 1 Link to comment Share on other sites More sharing options...
tires Posted March 28, 2024 Author Share Posted March 28, 2024 Ah ok! Thank you! It was sort not move! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now