1

I have user roles User Role 1, 2, and 3. I want a simple module that will make User Role 1 only be able to edit and administer users in User Role 2, and not User Role 3. Does anybody know of any module or other easy method to do that? It seems like there must have been somebody else who did something about their moderators being able to delete their admin accounts?

Please note that I'm not asking for anything about restricting the permission changing ability of roles.

  • Would a simple redirect on the user edit form work? Or would you want User Role 3 to not even appear in to User Role 1 when they navigate to admin/people ? – LSU_JBob Oct 10 '11 at 21:36
  • The problem with redirects is that they can just stop the page from refreshing by pressing the X button. I don't think redirects is the way to go. @visibility: they should be able to see the users, just not, for instance, delete them, or reset the password, etc. – BenjaminRH Oct 10 '11 at 21:45
1

The userprotect module can handle that.

  • Yes! Yes! This is exactly what I've been looking for! This will save me hours of time and trouble. I never found it -- it doesn't appear on any google searches I tried or any related module blocks at drupal.org. Thank you very much. – BenjaminRH Oct 10 '11 at 23:25
1

Administer Users by Role does that (and is now ported to Drupal 7).

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.