Jump to content

Recommended Posts

Posted

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?

Posted

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.

  • Like 1
Posted

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?

Posted

Sure, you can create a ProcessModule only for that purpose like shown in my blogpost and then restrict this module to your desired roles.

  • Like 1
Posted
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.

  • Like 2

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
  • Recently Browsing   0 members

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