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
Branch Policy Check / Verify merge target (pull_request) Has been cancelled
Universal: PR Check / Branch Policy (pull_request) Has been cancelled
Universal: PR Check / Validate PR (pull_request) Has been cancelled
Branch Cleanup / Delete merged branch (pull_request) Has been cancelled
PR RC Release / Build RC Release (pull_request) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
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.