Do the new abilities to add/remove tags in bs 4.7 come with permissions? We are currently protecting release tags with a pre receive hook. How can I do the same thing when the gui is used to manage tags?
When tags are created/deleted through the UI or REST, a
TagCreationRequestedEvent/TagDeletionRequestedEvent is published. You can listen for this event and block tag creation by calling
cancel(KeyedMessage message) on the event. The message you provide will be displayed in the UI or the REST response to notify the caller of the reason why the tag creation was blocked.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot