2

So I'm setting up a system with 3 tiers of users.

  • Admin
  • Officers
  • Managers

I want Officers to be able to administer managers. Any of you know if this is doable?

So let's say an Officer could login (not in the CP) and view a list of its managers and change let's say, their password...

Any light on this would be great :)

0

You can do what you're looking for with some caveats from the front-end of a site.

If officers have the editUsers permissions, then they can edit most other things about other users.

The two exceptions are their email address, which requires the changeUserEmails permission and the password, which they can't change at all. The only person that can change the password is the user it belongs to.

2
  • Thanks Brad. That's most of what I need. One more question if I may. Do you know if I can display the 'copy password reset url' or 'suspend' function from the front end?
    – Oli
    May 11 '15 at 7:39
  • Craft requires you to be an admin to call those methods on its UsersController. If you want to get around that you'd have to write a plugin that has a controller that removes the restriction, but I'd be very wary of opening that up on the front-end.
    – Brad Bell
    May 11 '15 at 18:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.