Posted by rfay on December 1, 2008 at 2:12pm
Jump to:
| Project: | Role Delegation |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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().
| Attachment | Size |
|---|---|
| role_delegation_user_save_patch_drupal6.patch | 1.07 KB |
Comments
#1
This works, and helps with integration with Rules as well (so that triggers of "Profile is updated" execute when changing roles using Role Delegation).
#2
Committed. Great improvement, thanks!
#3
#4
Automatically closed -- issue fixed for 2 weeks with no activity.