In mid-2023, DeepSource started getting a huge influx of support requests pertaining to controlling their accounts ⎯ both for Team and Personal accounts. Deleting a team or personal account, for example, was a pain in the arse. While manually deleting accounts based on support requests worked for a while, it got overwhelming after a point, especially dealing with users who had just signed up to check out the product and now wanted out.

We had to delete the accounts as requested to keep up with compliance requirements, especially for accounts from the EU region.

As we kept talking to our users and going through the pretty huge volume of incoming support requests to manage team and personal accounts, we came across a bunch of recurring themes ⎯ and interestingly, there was a pretty huge overlap with what our enterprise customers were also asking for. We sat down and mapped the pain points to actionable user stories. Some of these went out as standalone updates while chunks of this were also part of The Mimir update.

<aside> 🛠

Note that all of these features were developed separately but all of them originated from the deluge of support requests and customer pain points ⎯ all connected to the common theme of having issues with controlling their Team and Personal accounts.

</aside>

User stories


Team Members page

image.png

We started showing an info banner to the users to add more administrators to improve the team’s Bus factor.

![image.png](<https://prod-files-secure.s3.us-west-2.amazonaws.com/acaef6d6-6235-4014-a5cc-350a1535ee62/e430b62c-a08f-4200-8df8-0b5bf42633c6/image.png>)

This issue became even more pertinent for teams who maintained open-source projects and also had private repositories. We adopted a three-fold approach to solve this confusion - - We added a label against every team member and repository collaborators to show where they were coming from ⎯ viz. whether they were getting added through the VCS provider OR whether they were getting added through the DeepSource dashboard.

    ![image.png](<https://prod-files-secure.s3.us-west-2.amazonaws.com/acaef6d6-6235-4014-a5cc-350a1535ee62/930a3d51-fc74-43af-994b-adde0c53691d/image.png>)
    

- We allowed users to Manually sync the access control with their VCS provider to account for manual intervention in the case of automated sync discrepancies (maybe due to API rate limits, or service degradation) ⎯ after explicitly informing them that the changes synced from their VCS provider would override the changes made on DeepSource.
    
    [Export-1732824281391.mp4](<https://prod-files-secure.s3.us-west-2.amazonaws.com/acaef6d6-6235-4014-a5cc-350a1535ee62/1ea16af7-aefa-4d1b-9e4f-57328de6ce24/Export-1732824281391.mp4>)
    

- Additionally, we removed the ability to directly add a collaborator to a repository. Unless the user was already part of the team or added to the repository via the VCS provider, the administrator needed to manually add them to the team before adding them to a repository.
    
    [Export-1732824862748.mp4](<https://prod-files-secure.s3.us-west-2.amazonaws.com/acaef6d6-6235-4014-a5cc-350a1535ee62/e22778aa-d302-49ae-a578-a1e03131a149/Export-1732824862748.mp4>)