0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 02:42:49 +01:00
gitea/routers/api/v1
Evan Tobin ae419fa494
Fix permissions for Token DELETE endpoint to match GET and POST (#27610)
Fixes #27598

In #27080, the logic for the tokens endpoints were updated to allow
admins to create and view tokens in other accounts. However, the same
functionality was not added to the DELETE endpoint. This PR makes the
DELETE endpoint function the same as the other token endpoints and adds unit tests
2023-10-14 08:04:44 +00:00
..
activitypub More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00
admin Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
misc More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
notify More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
org Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
packages Another round of db.DefaultContext refactor (#27103) 2023-09-25 13:17:37 +00:00
repo Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
settings Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
swagger refactor(API): refactor secret creation and update functionality (#26751) 2023-08-28 13:08:19 +08:00
user Fix permissions for Token DELETE endpoint to match GET and POST (#27610) 2023-10-14 08:04:44 +00:00
utils New webhook trigger for receiving Pull Request review requests (#24481) 2023-05-24 22:06:27 -04:00
api.go Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00