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.
Install
Works with Drupal: ^8 || ^9 || ^10Using dev releases is not recommended, except for testing.
Using Composer to manage Drupal site dependencies
Alternative installation files
Download userprotect-8.x-1.x-dev.tar.gztar.gz
29.5 KB
MD5: aad9d2f75ff2bd6c9eda2f7e9e6e6f94
SHA-1: eb4592fdf2a823a39cb1b9676020d0d303337e4a
SHA-256: 7f11fd8c348e1acf73902ad6771a068911a94308f314cb2a9556e6a6f25a93f9
Download userprotect-8.x-1.x-dev.zipzip
56.55 KB
MD5: 04847130a3a37890496427a7fc550a5e
SHA-1: 074e99d1b89f6357e368962ef07a2859dc29a71b
SHA-256: 5ed6ae02e182f9fe2107f109657972d2f141438e84263ae0467352bb37bcacb3
Release notes
Development version of 8.x-1.x branch. Currently based on Drupal 8.0.0-beta9.
New features
- A permission to "Change own account" is added. (see also #1172518: Users should NOT always be able to access their own edit page).
- Each protection rule can be bypassed separately.
- Multiple protection rules can be made for the same user or same role (and be configured differently).
Dropped features
-
Page to bulk edit protections
There is no longer one page where you can edit all protection rules in bulk. You now need to edit protection rules one by one. -
User protection defaults
There are no more "default" protection settings for when creating a new protection rule. -
Auto-protect new users
There is no longer an option to automatically create a protection rule for each newly created user. If you need this behavior, you could do this with Rules: react on the event of user creation and create a new userprotect_rule entity. -
OpenID protection
OpenID protection is removed because the openID module is removed from Drupal core. -
Permission "Change own OpenID"
This permission is removed because the openID module is removed from Drupal core.
For details about the reasons for the dropped features and for technical details about the Drupal 8 version, see #2181393: User protect: Drupal 8 port.