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.
I need to have role which has access to edit any profiles and field even if set user protect.
I propose add drupal_alter() hook for this. Patch attached.
Comment | File | Size | Author |
---|---|---|---|
#3 | userprotect_added_alter_for_access_2899903_1.patch | 6.77 KB | svipsa |
Comments
Comment #2
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedThere is a similar request in #1140350: Open to a patch to implement a hook_userprotect?.
Comment #3
svipsa CreditAttribution: svipsa commented