You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/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>
2 years ago
..
cargo Add Cargo package registry (#21888) 2 years ago
chef Add Chef package registry (#22554) 2 years ago
composer Use ErrInvalidArgument in packages (#22268) 2 years ago
conan refactor auth interface to return error when verify failure (#22119) 2 years ago
conda Add Conda package registry (#22262) 2 years ago
container Add actions support to package auth verification (#23729) (#24028) 2 years ago
generic Implement FSFE REUSE for golang files (#21840) 2 years ago
helm Use ErrInvalidArgument in packages (#22268) 2 years ago
helper Implement FSFE REUSE for golang files (#21840) 2 years ago
maven Replace fmt.Sprintf with hex.EncodeToString (#21960) 2 years ago
npm Use ErrInvalidArgument in packages (#22268) 2 years ago
nuget Add `/$count` endpoints for NuGet v2 (#22855) 2 years ago
pub Use ErrInvalidArgument in packages (#22268) 2 years ago
pypi Update go dev dependencies (#22064) 2 years ago
rubygems Use ErrInvalidArgument in packages (#22268) 2 years ago
vagrant Implement FSFE REUSE for golang files (#21840) 2 years ago
api.go Require repo scope for PATs for private repos and basic authentication (#24362) (#24364) 2 years ago