fix(licenses): restrict downloadsPublic to release paths only #438

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

Prevents main repo page from getting LicensedReadOnly.

Prevents main repo page from getting LicensedReadOnly.
jmiller added 1 commit 2026-06-02 20:31:04 +00:00
fix(licenses): restrict downloadsPublic to release/download paths only
Universal: PR Check / Build RC Package (pull_request) Blocked by required conditions
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
6405163e60
The downloadsPublic flag was granting LicensedReadOnly to all
routes including the main repo page, causing 404 on private repos.
Now only applies to paths containing /releases/ or /archive/.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jmiller merged commit da41d7072f into main 2026-06-02 20:31:33 +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#438