• Community
  • Products
  • Bitbucket
  • Questions
  • The new branch permissions help does not specify how to stop someone from deleting a branch. Why is this? Do we have the ability to prevent the delete?

The new branch permissions help does not specify how to stop someone from deleting a branch. Why is this? Do we have the ability to prevent the delete?

I want to stop users from messing up and deleting master but the new set up does not allow it.  Why?

1 answer

1 accepted

Accepted Answer
2 votes

This is supported with our new branch permissions UI, though I admit it could be slightly confusing. Once you actually populate the "Write access" field with something, options appear to allow or disallow rewriting history and deleting the branch.

Screen Shot 2016-10-12 at 9.40.44 AM.png

By not checking the checkbox labeled "Allow deleting this branch," you can effectively prevent the devs on your team from deleting master (or any other branch).

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...

2,340 views 9 12
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