I have Tags option in BitBucket option - was added tags/** branch pattern for preventing deletion but still user is able to delete

This question is in reference to Atlassian Documentation: Branch permission patterns

I have Tags option in BitBucket option - was added tags/** branch pattern for preventing deletion but still user is able to delete

1 answer

0 vote
Jeff Thomas Atlassian Team Apr 22, 2016

How are you deleting the tag?

I just setup a similar branch permission for tags/** and the delete was blocked, when I ran git push origin :test-tag to delete the tag:

remote: ----------------------------------------------------
remote: The branch refs/tags/test-tag is protected by branch permissions. It cannot be deleted.
remote: Check your branch permissions configuration with the project administrator.
remote: ----------------------------------------------------

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,751 views 1 5
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