lpa Posted February 5, 2018 Share Posted February 5, 2018 I need a solution to give some admin users a front-end page where they can create new users and edit existing ones. The existing and new users should only belong to a restricted set of roles. Is there some ready examples or modules to do this? Link to comment Share on other sites More sharing options...
bernhard Posted February 5, 2018 Share Posted February 5, 2018 maybe this one: https://modules.processwire.com/modules/frontend-user/ (https://www.google.at/search?q=site:processwire.com+frontend+login) Maybe you have good reasons to do this in the frontend but using the admin in ProcessWire might be simpler than you think: https://processwire.com/blog/posts/building-custom-admin-pages-with-process-modules/ Staying in the pw admin has the benefit that you have all the tools available: access control, collapsible fields, hooks etc. 1 Link to comment Share on other sites More sharing options...
lpa Posted February 5, 2018 Author Share Posted February 5, 2018 Thanks! Off course one option could be to use the normal user admin, but can it be restricted to allow editing users or creating new users with only a restricted set of roles? Link to comment Share on other sites More sharing options...
bernhard Posted February 5, 2018 Share Posted February 5, 2018 Sure, you can create a ProcessModule only for that purpose like shown in my blogpost and then restrict this module to your desired roles. 1 Link to comment Share on other sites More sharing options...
Robin S Posted February 5, 2018 Share Posted February 5, 2018 1 hour ago, lpa said: Off course one option could be to use the normal user admin, but can it be restricted to allow editing users or creating new users with only a restricted set of roles? Yes, it can. See the blog post about the user-admin permissions. 2 Link to comment Share on other sites More sharing options...
lpa Posted February 6, 2018 Author Share Posted February 6, 2018 Great, I think that will be enough for my needs. 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