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 votes
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
Community showcase
Published Mar 14, 2019 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...

265 views 0 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