This module currently implements join and leave role actions as direct sql queries on the database. This means that hook_user is not called when roles are added or removed, which is not desirable.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 0001-1516886-by-greg.1.anderson-use-user_save-when-joinin.patch | 3.36 KB | greg.1.anderson |
Comments
Comment #1
greg.1.anderson commentedHere is a patch that calls user_save to add and remove roles.
Comment #2
greg.1.anderson commentedI am switching to the sudo module instead, as it fits my use-case better. Someone else will need to drive this to completion if it is desired; please feel free to close if not wanted. Setting to 'needs work', as a Drupal-7 port is still needed.
Comment #3
francoud commentedI'll take a look and try to commit.. thank you!
Comment #4
francoud commentedComment #5
xqbzzr commentedHas this ever been fixed?
I am having issues with User Badge role, as this module will not assign badges on joining roles.