Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How to prevent all groups added automatically to the newly created repositories?

Hi,

We are using the standard plan of the Bitbucket cloud in our company. We are facing a issue when creating a new repository.

If we are creating a new repository, it will automatically add the user groups to all that newly created repositories. Then we need delete those unwanted group access to the repositories by manually.

Is there a way to resolve that issue?

Thanks.

2 answers

1 accepted

1 vote
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 14, 2022

Hi @DFCC team,

This is controlled by a setting for each user group which you can disable.

Please follow the steps below:

  • Open the workspace on Bitbucket Cloud website
  • Select Settings from the left sidebar to open the workspace's settings
  • Select User groups from the left sidebar

For each user group that you don't want to automatically gain access to newly created repositories:

  • Select the user group
  • Select Edit
  • Change the setting Automatically assign permissions for new repositories to None and then Confirm the change

If you have any questions, please feel free to let me know.

Kind regards,
Theodora

@Theodora Boudale  - related question: When removing the user group automatic access grant setting, will that revoke permissions previously granted to repos based on this setting?

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 04, 2023

Hi @zax_rosenberg,

Permissions previously granted won't be affected if you remove the user group automatic access grant setting.

This only affects permissions in the new repos created after you remove the setting, meaning that users won't get automatically access to newly created repos unless they have been given access via Project settings.

Kind regards,
Theodora

But Automatically assign permissions for new repositories is grey out for each group. what to do in that case. My problem is whenever new user is created, they automatically added to each group. So I want remove this and instead automatically added to all group. I want to add them to only relevant group.

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 04, 2023

Hi Umer,

The option is greyed out because we are going to remove it on October 30, 2023. If you click the info icon next to this option, this is mentioned there.

You can see more details in the following blog post:

Finally, we are deprecating the ability to configure the automatic assignment of permissions to groups for all new repositories created. This feature was implemented long ago as an alternative mechanism for configuring repository permissions at scale and is being phased out by project permission inheritance. All new repositories will inherit the permissions set at the project level and not require explicit permissions to be configured unless it varies from the project.

To create the least amount of disruption, we are deprecating these features on group settings, but we won’t be removing them overnight. Rather, we will have a six-month grace period starting the day of the general release of project permissions to ensure that all customers have ample time to adjust to changes introduced for project permissions and permission inheritance. At the end of the grace period, we will remove the Create repositories permission and the ability to Automatically assign permissions for new repositories from within group settings.

For the issue with your user, please create a new question via https://community.atlassian.com/t5/forums/postpage/board-id/bitbucket-questions and we will look into it. It's best to have a separate question per issue, otherwise, a certain post can become convoluted and difficult to follow.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events