We have noticed a change in the process for granting member access to our organization via GitHub accounts, and we would like some clarification.
Previously, we were able to add users to our organization by searching for their GitHub usernames after they connected to SonarCloud.io. This allowed us to efficiently manage access for our team members.
However, it appears that the member search functionality has changed. It now requires users’ email addresses instead of their GitHub usernames, which makes it difficult to map and invite users who have connected their GitHub accounts (see attached screenshot for reference).
We do not wish to enable the GitHub sync option because we have users of type outside collaborators who are not part of our GitHub organization and we prefer not to add them as members of the GitHub org.
Could you please confirm if there was an intentional change in the member search process? Is there any alternative method to search and add members via their GitHub accounts without enabling the sync option?
Thank you for your support and looking forward to your response.
As of a few months ago, an exact email match is required to find and add users.
Previously, the SonarCloud API allowed any SonarCloud user to read all SonarCloud user data. This created some GDPR concerns (first and last names were being returned as well), and we mitigated those concerns by requiring an exact e-mail match and hiding the name of the e-mail address owner.
Of course, your feedback is welcome. It shouldn’t be a pain to add users to an org, and I’ll ping one of our PMs to, at the very least, take note of your concern.
The issue is resolved; I was able to add users using their primary email addresses linked to their GitHub accounts. However, I preferred the previous method of adding users by username. From now on, I’ll need to track the primary email for each GitHub account, which seems to be a unique requirement for this scenario.
For consistency in group-user mapping, it would be helpful if both email addresses and GitHub usernames could be searchable, as currently, only GitHub usernames are displayed in the search results.