I do not know why this is possible or why anyone would do this, but user #0 can cancel his own account.

As user #0 is a super-user account, maybe this should be forbidden.

Comments

wretched sinner - saved by grace’s picture

Title: Prohibit user #0 to cancel his account » Prohibit user #1 to cancel his account
Status: Active » Postponed (maintainer needs more info)

User 0 is (currently) the anonymous user. I think that the special case of user 1 (the super user) as taken care of in the initial patch, but I will leave this open for someone who knows it better to comment.

wretched sinner - saved by grace’s picture

Status: Postponed (maintainer needs more info) » Fixed

Closed - no response for a couple on months.

If incorrect, please reopen.

sun’s picture

Status: Fixed » Closed (won't fix)

@wretched sinner: Yay! Thanks for your issue queue work! However, please read http://drupal.org/node/156119 about proper issue statuses. For example, this one is a won't fix. :)