Status: To Do
Fix Version/s: None
We want to ease the onboarding of BBC users on SonarCloud and the configuration of the SonarCloud organization. Like for GitHub (https://jira.sonarsource.com/browse/MMF-1540), we want to provide the ability to synchronize the members of a SonarCloud org that is bound to a BitBucketCloud team.
The use cases are the same as https://jira.sonarsource.com/browse/MMF-1540
We first tried to synchronize members for BBC but faced several limitations. We need to dig into what we can achieve with the available resources.
: retrieve all users from a team, be able to map BBC users with SC users and receive notifications when there is a change in the BBC team, especially when a user is removed from a team, so that we can directly remove the SC user from the SC org
: Since we are limited by the fact that we don't have a webhook to be notified when a user is removed from a BB team and thus cannot provide a full members sync, maybe we could still do one first step to help admins configure the org, as a one shot (as we can get the list of members from BBC). So we could think of a manual sync for ex. : retrieve, add, remove members from BB at a manual action from the admin.
: how do we handle automatically removing of a member from an org when the member is removed from the BBC team ?