0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-13 03:30:27 +01:00
gitea/routers/api/v1/user
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
..
action.go
app.go Fix permissions for Token DELETE endpoint to match GET and POST (#27610) 2023-10-14 08:04:44 +00:00
avatar.go
email.go
follower.go
gpg_key.go
helper.go
hook.go
key.go
repo.go
settings.go
star.go
user.go
watch.go