Protected Tags dont protect if delete happens via WebUI #9067

Closed
opened 2025-11-02 08:28:06 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @6543 on GitHub (Jun 14, 2022).

Gitea Version

v1.16.x (codeberg.org); up to main (460c03ca49)

Reproduce

  1. create a tag
  2. protect this tag
  3. delete via webui

expect

A. no delete option for protected tags
B. an error if backend gets delete request

Originally created by @6543 on GitHub (Jun 14, 2022). ### Gitea Version v1.16.x (codeberg.org); up to main (460c03ca499bef84bae4ad40843179006bbb1ca5) ### Reproduce 1. create a tag 2. protect this tag 3. delete via webui ### expect A. no delete option for protected tags B. an error if backend gets delete request
GiteaMirror added the type/bugtopic/security labels 2025-11-02 08:28:06 -06:00
Author
Owner

@6543 commented on GitHub (Jun 14, 2022):

also if you like to create a tag witch is protected via UI you get an 500 page

a flash error would be a better UX

@6543 commented on GitHub (Jun 14, 2022): also if you like to create a tag witch is protected via UI you get an 500 page a flash error would be a better UX
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9067