Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Tag permissions and new gui tag controls

Justin Shapiro
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 29, 2016

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?  

1 answer

1 accepted

0 votes
Answer accepted
Michael Heemskerk
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 29, 2016

Justin,

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.

Cheers,

Michael

Justin Shapiro
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 29, 2016

yep.  that's what I assumed the answer would be for the "enterprise" solution.  thanks.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events