Protect Critical Users
Categories
Component ID
336581
Component name
Protect Critical Users
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
19890
Component created
Component changed
Component body
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
This module will not be upgraded to Drupal 7 because it looks like it will already protect critical users.
Known issues:
- Protect Critical Users is not compatible with User Delete module (ref. #507890).