Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I tried this module and it works to an extent to prevent users from editing user 1 account, but then i tried the "block selected users" and whoa! user 1 was blocked! The user 1 account is not yet protected if it can be blocked from the user administration page by a user with administer users permission, this is critical.
Comments
Comment #1
BWPanda CreditAttribution: BWPanda commentedTry this patch which removes the need to give users the powerful 'Administer users' permission: http://drupal.org/node/1717876#comment-6843720
See if that helps with this issue...
Comment #2
gaele CreditAttribution: gaele commented#1717876: Remove dependency on 'Administer users' permission
Comment #3
gaele CreditAttribution: gaele commentedThis is the right one: #1670954: User who doesn't have edit permission can block/unblock any user