Lenz Posted March 31, 2016 Share Posted March 31, 2016 Hello all, i have a problem with page cloning, namely if i want to clone a page together with children pages (page-clone-tree) as a non superuser: Page cloning is a important requirement coming from the future editors of the website. reproduction of my problem:1. login in processwire admin backend as user with the custom role editor 2. switch to Pages -> Tree View3. click within the tree on the page which i want to clone 4. click on button copy next to the page (page has children)5. result: ===================================================================================== page cloning doesn't work, instead reload of complete pages Tree and Message on top: "You are logged in". ===================================================================================== if a page has no children, the page cloning works. Also as superuser page cloning is functional.My system is processwire 3.0.12 multilingual the template of the parent of the page, which i want to clone has the following configuration for role editor: Tab ACCESS: VIEW PAGES ADD CHILDREN (makes no difference if i also add all other permissions like EDIT and CREATE PAGES, but the role editor shouldn't be allowed to create and edit pages on this level) Tab Family: May pages using this template have children ? -> YES Can this template be used for new pages? -> YES the template of the page, which i want to clone as editor has the following configuration for role editor:Tab Access: VIEW PAGES EDIT PAGES CREATE PAGES ADD CHILDREN Add permissions by role: editor: page-clone editor: page-clone-tree editor: page-delete Tab Family: May pages using this template have children ? -> YES Can this template be used for new pages? -> YES Allowed templates for children -> [child-template] the template of a child of the page, which i want to clone has the following configuration for role editor:Tab Access: VIEW PAGES EDIT PAGES CREATE PAGES Add permissions by role: editor: page-clone editor: page-clone-tree (doesn't make sense here, but makes no difference whether this is activated or not) editor: page-delete Tab Family: May pages using this template have children ? -> No Can this template be used for new pages? -> YES Have i overseen something or is there somewhere perhaps a bug? Thank you very much in advance. Link to comment Share on other sites More sharing options...
Lenz Posted April 1, 2016 Author Share Posted April 1, 2016 meanwhile i have found out, that if i set the cloning permission directly at role level (Access -> Role -> editor) and disable the cloning permission on template access level, the page tree cloning works, but now the cloning functionality is assigned to all editable templates. I think for now i can llive with that, although i'd be happier if i would have been able to configure cloning per template... 1 1 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