benbyf Posted September 6, 2013 Share Posted September 6, 2013 Hi, just wondering if there is a users and user permissions tutorial anywhere, as i want to level up my understanding. Link to comment Share on other sites More sharing options...
pwired Posted September 6, 2013 Share Posted September 6, 2013 There's a lot to find in the forum http://processwire.c...7-custom-login/ http://processwire.c...tor-login-form/ http://processwire.c...eset#entry15894 http://processwire.c...password +reset Link to comment Share on other sites More sharing options...
benbyf Posted September 6, 2013 Author Share Posted September 6, 2013 Really useful links, but nothing that really explains how to make and administer a new user which isn't a admin or guest for example - I'm looking to create an 'author' user that has very specific access to the PW admin. Link to comment Share on other sites More sharing options...
Soma Posted September 6, 2013 Share Posted September 6, 2013 Did you even look in de documentation? http://processwire.com/api/user-access/ Link to comment Share on other sites More sharing options...
apeisa Posted September 6, 2013 Share Posted September 6, 2013 Well... those aren't actually too helpful. This page still tells about old "page based ua" instead of current template based. Link to comment Share on other sites More sharing options...
Soma Posted September 6, 2013 Share Posted September 6, 2013 My bad... Link to comment Share on other sites More sharing options...
Soma Posted September 6, 2013 Share Posted September 6, 2013 Best I could find is where you asked the same q and got a answer by Ryan with example steps. http://processwire.com/talk/topic/3346-setting-up-manager-role/ Link to comment Share on other sites More sharing options...
ryan Posted September 8, 2013 Share Posted September 8, 2013 just wondering if there is a users and user permissions tutorial anywhere, as i want to level up my understanding. There are limitless possibilities, so instructions kind of depend on what your need is. I'm looking to create an 'author' user that has very specific access to the PW admin. Most likely "author" would be the name of the role you would create. What do you want the author to be able to do? I can follow-up with instructions on how to do it. Well... those aren't actually too helpful. This page still tells about old "page based ua" instead of current template based. Thanks for letting me know, I have unpublished that page temporarily until I can update it. Didn't realize we had such old info there! Link to comment Share on other sites More sharing options...
benbyf Posted September 11, 2013 Author Share Posted September 11, 2013 Thanks Ryan, and yes sorry for asking the same question twice. Been working with PW for two years now and its always been confusing for me. For a vanilla PW install how can I set different edit page permissions in the admin for any new user type - i.e. 'Author'. Or will I always need to use the user plugins found on the modules user page? Thanks! Link to comment Share on other sites More sharing options...
benbyf Posted September 11, 2013 Author Share Posted September 11, 2013 Sure it'll be obviously when i get my head around it but at present this makes no sense what so ever, just had another look at it. Maybe a screen cast would be useful? Happy to make screen casts when I understand. Link to comment Share on other sites More sharing options...
ryan Posted September 14, 2013 Share Posted September 14, 2013 For a vanilla PW install how can I set different edit page permissions in the admin for any new user type - i.e. 'Author'. Can you describe your scenario? Here's a common scenario: Lets say you've got a section called /articles/ and you want to have authors that can edit articles: 1. Create new role called "author" and check permission box for "View" and "Edit". Assign this role to one or more users you've created. 2. Edit your "Article" template (Setup > Templates > edit), the one represented by /articles/some-article/, etc. 3. Check the "yes" box on "access" tab to enable access control. 4. Next to the "author" role, check boxes for: View, Edit Want your authors to be able to create new articles too? 1. Edit your "Article" template again, check the box for "Create" for the author role. 2. Edit your "Articles" template (the one represented by page /articles/). Enable access control and check the box for "Add Children" for the author role. Want authors to only be able to create new articles but not to publish them? 1. Add a new permission (Access > Permissions > New) and call it "page-publish" 2. You don't have to do anything else. Since the author role doesn't have page-publish permission, they can't publish pages. They can still edit and create unpublished pages. Tell me more about your scenario and I'll outline instructions. 6 Link to comment Share on other sites More sharing options...
benbyf Posted September 17, 2013 Author Share Posted September 17, 2013 great thanks Ryan, had no idea they were tied to templates not individual pages themselves. Will explore some more into how it looks. Will probably influence how I create sites from now on too as it seems you can't necessarily change permissions for different pages with the same template. Link to comment Share on other sites More sharing options...
kongondo Posted September 17, 2013 Share Posted September 17, 2013 .......it seems you can't necessarily change permissions for different pages with the same template. It seems you can....maybe.... http://mods.pw/1J http://mods.pw/34 http://mods.pw/39 http://mods.pw/4X 1 Link to comment Share on other sites More sharing options...
benbyf Posted September 17, 2013 Author Share Posted September 17, 2013 It seems you can....maybe.... http://mods.pw/1J http://mods.pw/34 http://mods.pw/39 http://mods.pw/4X think http://mods.pw/4X looks the most useful for my normal work flow, thanks. Link to comment Share on other sites More sharing options...
ndolph Posted November 1, 2014 Share Posted November 1, 2014 I hate to resurrect an old topic, but the page-publish permission does not work... was this changed since this was posted? Edit- Um, never mind. Its page-publish not page-publsh I feel so dumb... 1 Link to comment Share on other sites More sharing options...
diogo Posted November 2, 2014 Share Posted November 2, 2014 Join the group, we've been all guilty of that kind of dumbness 2 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