sab Posted April 16, 2015 Share Posted April 16, 2015 Hi, on my localhost installation, when i create a new role, i can see 9 permisson checkboxes such as 'view pages', 'edit pages', 'delete pages', 'move pages' .... etc. and on my server installation, when i create a new role, there is just nothing after typing in the rolename. after clicking on the 'save' button, nothing happens and i get back to my website tree/pages. whenever i click on a 'role', i just get my tree/pages list. no other page appears but i get a messag at the top of the page "you are logged in". and although it appears like i 'created' a role, when i want to assign the 'role' to a user, i have only two role options: superuser and guest. what could be wrong with this installation? is there anything i could do to actually create roles i want? or should reinstall and reconfigure everything? is it because of the version difference? i just wanted to have a role who can edit pages with a template and i wanted to assign this role to specific users. Link to comment Share on other sites More sharing options...
blad Posted April 16, 2015 Share Posted April 16, 2015 Roles contain permissions . You must create a role and assign a permission (page edit). Reinstall the latest version of processwire. This should work. should work This should workThis should workT This should work 1 Link to comment Share on other sites More sharing options...
sab Posted April 16, 2015 Author Share Posted April 16, 2015 how do i do that? i think that i can't even create a role. Link to comment Share on other sites More sharing options...
sab Posted April 16, 2015 Author Share Posted April 16, 2015 no other way than reinstalling? the version on my serverside is 2.5.3 Link to comment Share on other sites More sharing options...
blad Posted April 16, 2015 Share Posted April 16, 2015 You can use the API to create a role and assign permissions.More information here and here. Link to comment Share on other sites More sharing options...
blad Posted April 16, 2015 Share Posted April 16, 2015 Turn debug mode on in your config.php $config->debug = true; And see the result. Remember to change it back to false for production sites 1 Link to comment Share on other sites More sharing options...
sab Posted April 16, 2015 Author Share Posted April 16, 2015 Had to reinstall! Thanks. 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