fix(security): 403 for all users on private repos #423

Merged
jmiller merged 1 commits from dev into main 2026-06-02 14:57:55 +00:00
Owner

Anonymous gets 403 not 404.

Anonymous gets 403 not 404.
jmiller added 1 commit 2026-06-02 14:57:40 +00:00
fix(security): return 403 for all users on private repos, not 404
Branch Policy Check / Verify merge target (pull_request) Successful in 1s
Universal: PR Check / Branch Policy (pull_request) Successful in 1s
Universal: PR Check / Validate PR (pull_request) Failing after 6s
Branch Cleanup / Delete merged branch (pull_request) Has been skipped
PR RC Release / Build RC Release (pull_request) Successful in 21s
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
3ad37e48e1
Both anonymous and signed-in users now get 403 Access Denied when
accessing a private repo they lack permission for. Previously
anonymous users got 404 which hid the repo's existence.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jmiller merged commit 6290ff07e4 into main 2026-06-02 14:57:55 +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#423