Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Limit the Repository permission to only inlcude users who are permitted at Project level

Dhrubajyoti Basu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 3, 2025

We are new to bitbucket. What we have noticed is that when we create a new repository, all the user groups in the workspace are getting write access to those repositories. However, since we are working in a multi-vendor environment, we would rather limit the audience of the repos to our own colleagues. 

So is there a way to limit the number of permitted users to a repo to be the same as that of the project the repo is tagged with?

1 answer

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 6, 2025

G'day, @Dhrubajyoti Basu 

Welcome to the community!

This might happen because you have legacy group settings that automatically add the groups to any newly created repository. Could you check the specific group settings and uncheck the legacy feature as per our document below

Reminder: Deprecation of Legacy Permissions 

Let me know how it goes.

Regards,
Syahrul

Dhrubajyoti Basu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 7, 2025

Thanks Syahrul. That explains the issue. But being a vendor that is something we might suggest, but not have actual control on. Is there a way to remove the additional groups from the repositories using Git bash? So that it is less tedious task for a team member to manually remove these additional groups when a new repository is created.

Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 7, 2025

Hey @Dhrubajyoti Basu 

There's no Git bash command to do this, but it's possible to remove/update repository groups permission via API endpoint. You can check them at

Delete an explicit group permission for a repository 

Regards,
Syahrul

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events