forgejo/tests
Giteabot 10d3ed53f1
Fix auth check bug (#24382) (#24387)
Backport #24382 by @lunny

Fix https://github.com/go-gitea/gitea/pull/24362/files#r1179095324

`getAuthenticatedMeta` has checked them, these code are duplicated one.
And the first invokation has a wrong permission check. `DownloadHandle`
should require read permission but not write.

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
(cherry picked from commit 5999349ce7)
2023-04-28 08:58:05 +02:00
..
e2e
fuzz
gitea-lfs-meta
gitea-repositories-meta fix calReleaseNumCommitsBehind (#24148) (#24197) 2023-04-28 07:30:28 +02:00
integration Fix auth check bug (#24382) (#24387) 2023-04-28 08:58:05 +02:00
mssql.ini.tmpl [CI] set PASSWORD_HASH_ALGO = argon2 for integration tests 2023-04-22 09:10:55 +02:00
mysql.ini.tmpl [CI] set PASSWORD_HASH_ALGO = argon2 for integration tests 2023-04-22 09:10:55 +02:00
mysql8.ini.tmpl [CI] set PASSWORD_HASH_ALGO = argon2 for integration tests 2023-04-22 09:10:55 +02:00
pgsql.ini.tmpl [CI] set PASSWORD_HASH_ALGO = argon2 for integration tests 2023-04-22 09:10:55 +02:00
sqlite.ini.tmpl [CI] set PASSWORD_HASH_ALGO = argon2 for integration tests 2023-04-22 09:10:55 +02:00
test_utils.go
testlogger.go