Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
This module uses direct database manipulation instead of using user_save, so other modules like Role Change Notify cannot interoperate with it (see #341126: Does not work with Role Delegation). user_save() is the preferred way to operate.
The attached drupal6 patch updates role_delegation to use user_save().
Comment | File | Size | Author |
---|---|---|---|
role_delegation_user_save_patch_drupal6.patch | 1.07 KB | rfay | |
Comments
Comment #1
asak CreditAttribution: asak commentedThis works, and helps with integration with Rules as well (so that triggers of "Profile is updated" execute when changing roles using Role Delegation).
Comment #2
David Lesieur CreditAttribution: David Lesieur commentedCommitted. Great improvement, thanks!
Comment #3
David Lesieur CreditAttribution: David Lesieur commented