Bitbucket: How do I set branch permissions?

Karim Maassen March 12, 2013

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

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

0 votes
aMarcus
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 23, 2013

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

0 votes
Kyle Cordes April 11, 2013

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events