mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-23 03:30:12 +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.