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().

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

asak’s picture

Status: Needs review » Reviewed & tested by the community

This works, and helps with integration with Rules as well (so that triggers of "Profile is updated" execute when changing roles using Role Delegation).

David Lesieur’s picture

Status: Reviewed & tested by the community » Fixed

Committed. Great improvement, thanks!

David Lesieur’s picture

Version: 6.x-1.0 » 6.x-1.x-dev

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.