fix(licenses): RequireUnitReader allows LicensedReadOnly #427

Merged
jmiller merged 1 commits from dev into main 2026-06-02 15:45:54 +00:00
Owner

Fixes 404 on release downloads with valid license key.

Fixes 404 on release downloads with valid license key.
jmiller added 1 commit 2026-06-02 15:45:38 +00:00
fix(licenses): RequireUnitReader allows LicensedReadOnly access
Universal: PR Check / Build RC Package (pull_request) Blocked by required conditions
Universal: PR Check / Branch Policy (pull_request) Successful in 1s
Branch Policy Check / Verify merge target (pull_request) Successful in 2s
Universal: PR Check / Validate PR (pull_request) Failing after 7s
Branch Cleanup / Delete merged branch (pull_request) Has been skipped
PR RC Release / Build RC Release (pull_request) Failing after 21s
6c7a6e4061
RequireUnitReader now checks for LicensedReadOnly context flag
before checking standard permissions. This lets the releases
download route pass through for licensed private repos where
RepoAssignment granted read-only access via license key.

Fixes the 404 on /releases/download/ with valid dlid= param.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jmiller merged commit ba361c609f into main 2026-06-02 15:45:54 +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#427