Grant write access to a branch, but not the entire repository in Bitbucket Server? Edited

Hello,

I have a user who needs access to a single branch, but is not part of the development team. The problem is that we want to restrict access for this user to the rest of the repository. Is there a way to grant write access to a branch, but not the entire repo? It looks like branch permissions work more like restrictions and it would not be feasible to restrict branch access one by one. Bitbucket will not find the user when I try to grant permission to a specific branch without write access on the repo level as well.

Here is how permissions are currently set: The development team has a bitbucket group which has write permissions to the entire repository. A few select users of that group have write permissions to a few branches (master, development, etc).

We are currently on Bitbucket Server version 4.13

Thank you!

 

 

 

1 answer

0 vote

Hi Edward!

Branch permissions are set on a per-repository basis by specifying a user or group who already has access to a given repository. So unfortunately it won't be possible for you to grant access to a branch without grating permissions to the full repository, as you can see at Using branch permissions:

Branch permissions are actually restrictions, which are 
checked after project and repository level permissions.

I hope this answers your question, Edward. Let us know if you need anything else!

 

Hi Ana! Thank you for your response. I am disappointed that this is not possible, but we will make it work.

Thank you!

 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

2,048 views 1 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you