Jump to content
lpa

User admin on front end

Recommended Posts

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

Great, I think that will be enough for my needs.

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...