Skip to content

Only delete protected tags if text matches

Annabel Dunstone Gray requested to merge 364100-delete-protected-tag into master

What does this MR do and why?

Fixes bug where you could delete protected tags without inputting the correct confirmation text (tag) --> protected tag deletable without filling out the... (#364100 - closed)

How to set up and validate locally

  • Go to project settings > repository > protected tags
    • Either protect a specific tag or create a wildcard
  • Go to project tags
  • Click Delete protected tag
  • Click Enter on keyboard --> Nothing should happen
  • Type the first few letters and hit Enter --> Nothing should happen
  • Type the whole tag name and confirm. Tag should successfully be deleted

Links

Edited by Annabel Dunstone Gray

Merge request reports

Loading