Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How manage project specific permission

Hi All,
First I would like to say thanks to all for your help.

I have two projects on my Bitbucket cloud instance.
Project A and Project B are the names of the two projects.
Here for UserA, I want to give read and write permission for Project A only.
And same for UserB I want to give read and write permission for Project B. also UserA should not see the ProjectB, the same for UserB should not see Project A.
So how can I manage this permission at the project level on Bitbucket cloud?

1 answer

1 accepted

0 votes
Answer accepted
Caroline R Atlassian Team Oct 26, 2021

Hi, @Gajanan Sasane

Thank you for reaching out to Atlassian Community!

Currently, it’s not possible to manage repositories access with Project Permissions, but I believe that by project, you mean repositories, is that correct?

If that’s the case, in order to limit the visibility of the repositories under your workspace, you have 2 options:

1. You can have different groups to each repository: 

  • The users will have access to the repositories under the group they belong to; 

  • You can follow the next steps to create new groups:

    • Access your workspace > Settings

    • Go to User groups > Create group

    • Fill in the required fields and click on Confirm

    • After you create the group, access it and click on Add Repository

    • Select all the repositories you want to add to this group and click Confirm

2. You can add the users directly to the repository: 

  • This way, this person will have access only to this repo; 

  • You can follow these steps to add them to the repository:

    • Access the workspace > Go to the repository

    • Access the Repository Settings

    • Access User and group access

    • Add the email of the user you want to invite to this repo under "Users"

    • Select the type of access to want to provide > Click on Add

Besides that, when you create a repository in a workspace with existing user groups, Bitbucket checks if the workspace has any groups with the default access permissions of “Read", "Write", or "Admin". If it does, Bitbucket automatically adds those groups to this new repository with the default permission. 

So, if you want to check or change this default access, you can follow the next steps:

  • Open this workspace > Go to Settings > User groups 

  • Select the group you want to remove this Default Access 

  • Click on Edit 

  • Change the option "Automatically assign permissions for new repositories" to None

  • Then Bitbucket will ignore that group and will not automatically add it to new repositories. 

I hope this information helps you, but feel free to share any additional questions or concerns regarding this case. 

Kind regards,

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,265 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you