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

This widget could not be displayed.
Jason Worley 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

This widget could not be displayed.

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.

This widget could not be displayed.

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
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,338 views 8 11
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