Jump to content

Creating custom user roles


POWERFULHORSE
 Share

Recommended Posts

I'm currently working on a project that will require multiple user accounts, probably somewhere between 20-50. So far I haven't really had much experience with multiple PW users and setting up custom roles, but I imagine it can't be too complicated?

I'm trying to limit certain users so they can only view/edit/add child pages of a particular parent page, which I see is possible using the Access tab when editing the page's corresponding template.

However, I want the users to be able to add pages, but not be able to publish them and only be able to edit pages they have created. The idea is that the admincan review these pages and maintain control over what gets published, kind of like an editor.

Can anyone point in me in the right direction of where to find out how to approach something like this? Thanks!

Link to comment
Share on other sites

No problem there here your picked resources....the "page-publish" thing is a little bit hide.

https://processwire.com/talk/topic/4435-user-permissions-tutorial/#entry44263

other interesting stuff on this topic:

https://processwire.com/talk/topic/4094-publishunpublish-a-page-setting-required-to-edit-published-pages/

https://processwire.com/talk/topic/3346-setting-up-manager-role/

http://processwire.com/api/variables/user/

and very very important stuff to read is the CMScritic example with great codeexamples from ryan:

https://processwire.com/talk/topic/3987-cmscritic-development-case-study/?p=40168

best regards mr-fan

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...