aboutsummaryrefslogtreecommitdiffstats
path: root/routers/api/v1/utils
diff options
context:
space:
mode:
authorEvan Tobin <me@evantob.in>2023-10-14 03:04:44 -0500
committerGitHub <noreply@github.com>2023-10-14 08:04:44 +0000
commitae419fa49403537725c806a5f3f1e5b274f52eb7 (patch)
tree695da5e5638712d6ee7ce589059953bff87acc66 /routers/api/v1/utils
parentc6c829fe3fde5d55b2115eb006b427288e381158 (diff)
downloadgitea-ae419fa49403537725c806a5f3f1e5b274f52eb7.tar.gz
gitea-ae419fa49403537725c806a5f3f1e5b274f52eb7.zip
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
Diffstat (limited to 'routers/api/v1/utils')
0 files changed, 0 insertions, 0 deletions