mirror of
https://github.com/go-gitea/gitea.git
synced 2025-03-15 23:55:27 +08:00

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.