fix(licenses): allow anonymous downloads when download_gating=none #437

Merged
jmiller merged 1 commits from dev into main 2026-06-02 20:26:51 +00:00
Owner

Public downloads on private licensed repos.

Public downloads on private licensed repos.
jmiller added 1 commit 2026-06-02 20:26:28 +00:00
fix(licenses): allow anonymous downloads when download_gating=none on private repos
Branch Policy Check / Verify merge target (pull_request) Successful in 2s
Universal: PR Check / Branch Policy (pull_request) Successful in 1s
Universal: PR Check / Validate PR (pull_request) Failing after 5s
PR RC Release / Build RC Release (pull_request) Successful in 21s
Branch Cleanup / Delete merged branch (pull_request) Has been skipped
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
01011f6115
RepoAssignment now checks the download_gating setting. When set to
"none" (all downloads public), anonymous users can access release
downloads on licensed private repos without a key.

Previously, anonymous users always got 403 on private repos even
when download gating was set to public.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jmiller merged commit cb3817f5bc into main 2026-06-02 20:26:51 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoGitea#437