Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
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).
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - No further development
No longer developed by its maintainers. - Module categories: Administration Tools, Access Control
- 56 sites report using this module
- Created by markus_petrux on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.