fix(licenses): remove repo unit requirement causing 404s #338

Merged
jmiller merged 2 commits from fix/admin-delete-only into dev 2026-05-31 14:48:22 +00:00
Owner

Fixes 404 on repo licenses page. Feature gated by org config, not per-repo units.


Claude Opus 4.6 (1M context) noreply@anthropic.com

Fixes 404 on repo licenses page. Feature gated by org config, not per-repo units. --- *Claude Opus 4.6 (1M context) <noreply@anthropic.com>*
jmiller added 2 commits 2026-05-31 14:48:13 +00:00
Update all URLs in manifest.xml and updates.xml to use the new
code.mokoconsulting.tech domain.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
fix(licenses): remove repo unit requirement from licenses routes
Universal: PR Check / Branch Policy (pull_request) Successful in 13s
Branch Policy Check / Verify merge target (pull_request) Successful in 14s
Branch Cleanup / Delete merged branch (pull_request) Successful in 7s
PR RC Release / Build RC Release (pull_request) Successful in 15s
Universal: PR Check / Validate PR (pull_request) Failing after 22s
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
1bf51f3aa5
The licenses feature is gated by org-level LicensingEnabled config,
not by per-repo unit enablement. Requiring TypeLicenses unit on repos
caused 404s since it wasn't in DefaultRepoUnits.

Write permissions are still enforced in handlers via
CanWrite(TypeLicenses). Org routes retain reqUnitAccess for
team-level permission control.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jmiller merged commit 18510b0da3 into dev 2026-05-31 14:48:22 +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#338