Problem: If a admin tries to block his/herself, the block module will allow it. This is non-reversible, so once the block is set forth, it cannot be taken back. I attached a screen shot of my admin account being blocked (by me of course) trying to go to the user/block page, and a picture of the admin account being selected within the block module.

Purposed:
One of two methods should take place.
1) The module should give an error message if a user tries to block itself
2) The user's own account should not be listed among the list of users to avoid it from having the option to block itself.

Comments

elias_era’s picture

Component: block.module » user.module
Assigned: Unassigned » elias_era
Status: Active » Needs work
StatusFileSize
new1.87 KB

It was fixed in user/%/edit and admin/user/user

elias_era’s picture

Status: Needs work » Needs review
StatusFileSize
new1.87 KB

Forgot to change status.

Status: Needs review » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.