forgejo/routers/api
Giteabot 7c3ac69c06
Require repo scope for PATs for private repos and basic authentication (#24362) (#24364)
Backport #24362 by @jolheiser

> The scoped token PR just checked all API routes but in fact, some web
routes like `LFS`, git `HTTP`, container, and attachments supports basic
auth. This PR added scoped token check for them.

Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
(cherry picked from commit d2efd2bf73)
2023-04-28 08:58:05 +02:00
..
actions
forgejo/v1 [API] Forgejo API /api/forgejo/v1 2023-04-22 11:31:28 +02:00
packages Require repo scope for PATs for private repos and basic authentication (#24362) (#24364) 2023-04-28 08:58:05 +02:00
v1 Fix typo in API route (#24310) (#24332) 2023-04-28 07:33:38 +02:00