0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 04:54:24 +01:00
gitea/tests
Lunny Xiao ecf1f2d3f6
Fix auth check bug (#24382)
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.
2023-04-27 22:43:27 +02:00
..
e2e
fuzz
gitea-lfs-meta
gitea-repositories-meta
integration
mssql.ini.tmpl
mysql.ini.tmpl
mysql8.ini.tmpl
pgsql.ini.tmpl
sqlite.ini.tmpl
test_utils.go
testlogger.go