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.
forgejo/routers/api/packages
KN4CK3R 7c11a73833
Fix package access for admins and inactive users (#21580)
I noticed an admin is not allowed to upload packages for other users
because `ctx.IsSigned` was not set.
I added a check for `user.IsActive` and `user.ProhibitLogin` too because
both was not checked. Tests enforce this now.

Co-authored-by: Lauris BH <lauris@nix.lv>
2 years ago
..
composer Replace `ServeStream` with `ServeContent` (#20903) 2 years ago
conan Add generic set type (#21408) 2 years ago
container Add GET and DELETE endpoints for Docker blob uploads (#21367) 2 years ago
generic Replace `ServeStream` with `ServeContent` (#20903) 2 years ago
helm Replace `ServeStream` with `ServeContent` (#20903) 2 years ago
helper Add Package Registry (#16510) 2 years ago
maven Replace `ServeStream` with `ServeContent` (#20903) 2 years ago
npm Allow for resolution of NPM registry paths that match upstream (#21568) 2 years ago
nuget Enforce grouped NuGet search results (#21442) 2 years ago
pub Replace `ServeStream` with `ServeContent` (#20903) 2 years ago
pypi Allow uppercase ASCII alphabet in PyPI package names (#21095) 2 years ago
rubygems Replace `ServeStream` with `ServeContent` (#20903) 2 years ago
vagrant Add support for Vagrant packages (#20930) 2 years ago
api.go Fix package access for admins and inactive users (#21580) 2 years ago