You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/tests
Giteabot 93ede4bc83
Fix permissions for Token DELETE endpoint to match GET and POST (#27610) (#28099)
Backport #27610 by @evantobin

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

Co-authored-by: Evan Tobin <me@evantob.in>
1 year ago
..
e2e Change green buttons to primary color (#27099) 1 year ago
fuzz Move fuzz tests into tests/fuzz (#22376) 2 years ago
gitea-lfs-meta Test views of LFS files (#22196) 2 years ago
gitea-repositories-meta Allow get release download files and lfs files with oauth2 token format (#26430) (#27379) 1 year ago
integration Fix permissions for Token DELETE endpoint to match GET and POST (#27610) (#28099) 1 year ago
testdata/data/attachments/a/0 Allow get release download files and lfs files with oauth2 token format (#26430) (#27379) 1 year ago
mssql.ini.tmpl Remove duplicated notify mail configuration on tests (#26912) 1 year ago
mysql.ini.tmpl Remove duplicated notify mail configuration on tests (#26912) 1 year ago
mysql8.ini.tmpl Do not use deprecated log config options by default (#26592) 2 years ago
pgsql.ini.tmpl Remove duplicated notify mail configuration on tests (#26912) 1 year ago
sqlite.ini.tmpl Do not use deprecated log config options by default (#26592) 2 years ago
test_utils.go Allow get release download files and lfs files with oauth2 token format (#26430) (#27379) 1 year ago