• 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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 06, 2018 in Bitbucket

Do you use Bitbucket Cloud and Jira Cloud? If so, let us know!

Hi Community, I'm Julia and I'm on the Jira Software Cloud marketing team!  We're looking for companies or teams using Bitbucket Cloud and Jira Software Cloud. If your team fits the t...

128 views 6 3
Join discussion

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