Comparison of user edit protection modules
Last updated on
30 April 2025
Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites
Many site admins wish to prevent users from changing certain attributes in their profile or other users' profiles (password, e-mail, username and custom profile fields). This table will attempt compare and contrast the modules available for this task. Note that in addition to these modules there is the "change own username" permission available in Drupal's core user module.
| Module | Guest | User Read only | User Protect | Restrict password change | Protect critical users |
|---|---|---|---|---|---|
| Latest D8 release | none yet | none yet | 8.x-1.0 | 8.x-1.0 | Functionality in Core |
| Latest D7 release | none yet | 7.x-1.5 | 7.x-1.2 | 7.x-1.0 | Functionality in Core |
| Latest D6 release | 6.x-1.2 | 6.x-1.4 | 6.x-1.5 | 6.x-1.3 | 6.x-1.1 |
| Restrict own password change | Y |
Y |
Y |
N |
N |
| Restrict own e-mail change | Y |
Y |
Y |
N |
N |
| Restrict own custom profile fields change | Y |
N |
N |
N |
N |
| Restrict other users' password change | N |
N |
Y |
Y |
N |
| Restrict other users' e-mail change | N |
N |
Y |
Y |
N |
| Restrict other users' username change | N |
N |
Y |
N |
N |
| Restrict other users' custom profile fields change | N |
N |
N |
N |
N |
| Restrict deleting other users | N |
N |
Y |
Y |
Y |
Please update this page to reflect your knowledge of these modules.
Help improve this page
Page status: Not set
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion
Y
N