It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket: How do I set branch permissions?

I'd like to be able to set branch permissions for my Bitbucket repos. I want to restrict access to certain branches for some team members.

Is this possible?

3 answers

1 accepted

1 vote
Answer accepted
AgentSmith Atlassian Team Mar 14, 2013

Greetings!

Although we do not support granular permissions on branches, a previously suggested approach would be to fork the repository, providing the Release Manager access to the fork.

The fork can inherit or have its own permissions. As part of the release, you could ask the manager to pull incoming changes from the parent.

This information can be found here if interested:

https://confluence.atlassian.com/display/BITBUCKET/Branching+a+Repository

I hope this response was helpful.

Cheers,

Jason | Atlassian

aMarcus Atlassian Team May 09, 2014

This is no longer the case. We now have branch permissions! https://confluence.atlassian.com/display/BITBUCKET/Branch+management

The lack of "push" write access control per branch, or at least to a single ("master") branch, is causing is a lot of trouble. What are the odds of this appearing? We're trying to decide whether to endure for a while (and manually push -f back a bad commit in master every few days), or look elsewhere.

0 votes
aMarcus Atlassian Team May 23, 2013

We're tracking adding Branch permissions on this issue. Please feel free to comment on the request!

Suggest an answer

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

Bitbucket Server 7.0 is here!

Hello Community, I’m Anton Genkin, a product manager on the Bitbucket Server and Data Center team and am excited to share that Bitbucket Server 7.0 is now available! It's a platform release, one th...

1,066 views 6 5
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