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?

Karim Maassen Mar 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
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

Marcus Bertrand Atlassian Team May 09, 2014

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

0 votes
Kyle Cordes Apr 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.

0 votes
Marcus Bertrand 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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

1,729 views 1 18
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