Why are new users having their role deleted on signup? Today my client added some new users &amp; gave them a role, and checked 'Notify user of new account'. The users clicked the email link, entered their password and all was well - except that the role they had been given had been removed, so they had no useful access.  I've never seen this before, and in replicating it I can see that the role is removed at the point where the new user clicks save on their new password.  I'm  so puzzled by this, as we're at Drupal 7.69 which hasn't changed for a while and I can't see that anythig else has changed.
The problem was caused by the module 'Civigroup Roles Sync'.  Adding the new user with a role that was synced to CiviCRM caused the user's role to be dropped because in CiviCRM they weren't in that group.