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.xUsing Composer to manage Drupal site dependencies
Alternative installation files
Download userprotect-8.x-1.0.tar.gztar.gz
26.67 KB
MD5: adc7336cc04af44304777d3b2d3b73ea
SHA-1: 3d80f8533f14a7be430eb9937e5f241d95327b10
SHA-256: e91adba453b185fdaf37d05d16a128a810b9909deff41c9ee958edee761387ac
Download userprotect-8.x-1.0.zipzip
48.79 KB
MD5: f7bc94c11afe48ac06932e7d776c5f92
SHA-1: addff8ed82e8cdb77073e2a8b023a7e9809f856b
SHA-256: 9be0ef9fef411a66cebd7317194994746ff58c8e5b5a27e180c1e900120a020a
Release notes
Final 8.x-1.0 release! There have only been a few changes since 8.x-1.0-rc1 where the most important one was #2795809: Error when add new user with the duplicated username.
Changes since 8.x-1.0-rc1:
- #2818979 by MegaChriz: Added composer.json.
- #2818977 by MegaChriz: Added support for Plugin module.
- #2795809 by MegaChriz, dima.iluschenko, wubr: Error when add new user with the duplicated username.
- #2766019 by Vinay15, joelpittet: Remove @file tag docblock from all the .php files.
Changes compared to the 7.x-1.x version of User protect
User protect has been redesigned for Drupal 8. This means that new features were added but also that some features from the D7 version were dropped.
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.
Fore more details, see #2181393: User protect: Drupal 8 port.