Protect Critical Users

markus_petrux - November 19, 2008 - 21:44

This module protects critical users from being deleted in the following ways:

- Catches user/*/delete requests to protect users 0 (anonymous), 1 (admin) and current user.
- Protects user 1 and current user from being deleted from user administration.
- Removes delete button from user edit form for user 1 and current user.

Related core issue: #46149: Prevent account cancellation for uid 1

Releases

Official releasesDateSizeLinksStatus
6.x-1.12008-Nov-206.9 KBRecommended for 6.xThis is currently the recommended release for 6.x.
5.x-1.02008-Nov-206.86 KBRecommended for 5.xThis is currently the recommended release for 5.x.


 
 

Drupal is a registered trademark of Dries Buytaert.