- 🇧🇪Belgium dieterholvoet Brussels
Both the 7.x release of this module and Drupal 7 are not supported anymore, so I'm closing this as won't fix.
When I use this module with the auto assign role → module, the list of roles available override roles that have been set up to be auto assigned to a new user.
If you have 'role a' set up to be auto assigned to users when they register, but this role is also available to users to choice from when they register than the value of 'role a' overrides it being auto assigned in the hook_user_presave.
It would be good to check what roles have already been assigned when adding the selected roles at user creation. Although this might be misleading if a user hasn't selected 'role a' but have been granted it on registering.
Similarly it would be good to have an integration with the auto assign role module to know what role(s) will be auto assigned so that these can be pre selected on user registration.
Closed: won't fix
1.0
Code
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Both the 7.x release of this module and Drupal 7 are not supported anymore, so I'm closing this as won't fix.