I created a new role moderator and gave permission of just "Edit users with role authenticateduser" under Administer users by role permission.
The user is not able to cancel the administrator account at first (which is expected), but and moderator can block / unblock an user with role administrator.
Also, it could change the role of administrator accounts. By doing so they are able to cancel the account too.

CommentFileSizeAuthor
Capture.PNG46.04 KBAjitS
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gaele’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)
gaele’s picture