hoschmo Posted January 21, 2016 Share Posted January 21, 2016 hello processwire community, i wonder how the "page-template" permission works. the documentation states: page-templateEnables user to change the template used by a page. This is performed in the page editor Settings tab > Template field. Also requires page-edit permission. i have a user with "page-edit" and "page-template" permission (for example with the superuser role). however when i go to a pages settings -> template fields. i see no gui indication to change the pages template. how can a pages template be changed? thanks, hoschmo Link to comment Share on other sites More sharing options...
LostKobrakai Posted January 21, 2016 Share Posted January 21, 2016 In the template's settings is a checkbox to disallow template change for just that single template. Would you please make sure that one isn't checked. Link to comment Share on other sites More sharing options...
hoschmo Posted January 22, 2016 Author Share Posted January 22, 2016 thank you. this was the issue. now i get a dropdown list with templates to select from. however this list shows some templates which are not applicable. - repeaters are shown as templates - the list shows templates with setting "Can this template be used for new pages?" set to no is it possible to have these removed from the dropdown? Link to comment Share on other sites More sharing options...
LostKobrakai Posted January 22, 2016 Share Posted January 22, 2016 Do those show up for both superuser and other users with page-template permission or only for one of those? It should certainly not be that way. Link to comment Share on other sites More sharing options...
hoschmo Posted January 22, 2016 Author Share Posted January 22, 2016 you are correct. they only show up for the superuser. however it is a litte unintuitive as for the superuser the "Can this template be used for new pages?" setting is respected in the page tree but not in the change template setting. also is there a use case in which a page should be changed to the repeater template by the superuser? wouldn't the page also need to be removed from the sitetree? Link to comment Share on other sites More sharing options...
LostKobrakai Posted January 22, 2016 Share Posted January 22, 2016 Repeater pages are not removed from the pagetree. They're just in a place most people don't look for them (inside Admin). I'm with you that this is unintuitive and I'm not sure if it's supposed to be that way. At least superusers are excluded from almost all access or otherwise limiting factors. 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