0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-31 10:58:20 -05:00
forgejo/routers/api/packages
Giteabot d2efd2bf73
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>
2023-04-26 20:57:51 -04:00
..
cargo Add Cargo package registry (#21888) 2023-02-05 18:12:31 +08:00
chef Add Chef package registry (#22554) 2023-02-06 09:49:21 +08:00
composer
conan
conda
container Add actions support to package auth verification (#23729) (#24028) 2023-04-10 10:36:21 +02:00
generic
helm
helper
maven
npm
nuget Add /$count endpoints for NuGet v2 (#22855) 2023-02-11 19:30:44 +08:00
pub
pypi
rubygems
vagrant
api.go Require repo scope for PATs for private repos and basic authentication (#24362) (#24364) 2023-04-26 20:57:51 -04:00