Forums

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

How manage project specific permission

Gajanan Sasane
Contributor
October 24, 2021

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
Atlassian Team members are employees working across the company in a wide variety of roles.
October 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,
Caroline 

Suggest an answer

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

Atlassian Community Events