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.
Now that #2172017: Bulk operations does not respect entity access is fixed, User protect should implement hook_entity_field_access()
in order to apply protection on bulk operations.
Comment | File | Size | Author |
---|---|---|---|
#2 | userprotect-field-access-2417755-2.patch | 5.81 KB | MegaChriz |
#1 | userprotect-field-access-2417755-1.patch | 1.75 KB | MegaChriz |
Comments
Comment #1
MegaChriz CreditAttribution: MegaChriz commentedFirst step for the implementation. Needs tests.
Comment #2
MegaChriz CreditAttribution: MegaChriz commentedNow with tests. The implementation for access checks in general could probably be re-factored, but for now this is good enough.
Comment #4
MegaChriz CreditAttribution: MegaChriz commentedCommitted #2.