When I create a new repository in Bitbucket Cloud, it asks public or private. I always choose private and it always creates the new repository with 3 specific user groups automatically assigned to it (out of the 10+ user groups in the system). The problem is, these user groups are not the most common group of people who should be getting access to new repositories. Where in the settings can I change this behavior so that maybe only one user group of my choice (e.g. an administrative group) gets the access by default.
After creating the repositories, I currently have to manually remove the 3 user groups and then assign who I really want to assign. It would be nice to not have to remove people because they always ask questions like "Why did you remove me from a repository?" when in fact they should never have been assigned to that repository in the first place.
To stop Bitbucket Cloud from automatically assigning specific user groups to new private repositories, go to Workspace settings > User groups. Identify the user groups that are currently being automatically added to new repositories, click the group name, select Edit, and set Default repository access to None.
Note: The "Automatically assign new repository permission" setting is deprecated, and setting access to None effectively disables it, as per Atlassian’s documentation on legacy permissions deprecatio.