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.
Currently there is a check performed in hook_user_update, which throws up an error message if the current user doesn't have ability to edit the account being updated. This breaks in conjunction with rules, and probably anything that might run in a cron job.
This module should only be blocking the ability to administer users - not access to the underlaying api functions.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1677874-administerusersbyrole-remove-access-check-on--update.patch | 2.12 KB | mrfelton |
Comments
Comment #1
mrfelton CreditAttribution: mrfelton commentedPatch attached. All tests still pass, and now rules can fire properly.
Comment #2
mrfelton CreditAttribution: mrfelton commentedThis has been committed.