fix(settings): always show Licensing nav item in repo settings #456

Merged
jmiller merged 1 commits from fix/licensing-nav-always-visible into dev 2026-06-04 13:01:15 +00:00
Owner

The Licensing nav item was gated behind LicensingEnabled, creating a chicken-and-egg problem: users could not reach the settings page to enable licensing because the nav link was hidden until licensing was already on.

Fix: remove the {{if .LicensingEnabled}} guard so the Licensing link is always visible in repo settings.

?? Generated with Claude Code

The Licensing nav item was gated behind `LicensingEnabled`, creating a chicken-and-egg problem: users could not reach the settings page to enable licensing because the nav link was hidden until licensing was already on. Fix: remove the `{{if .LicensingEnabled}}` guard so the Licensing link is always visible in repo settings. ?? Generated with [Claude Code](https://claude.com/claude-code)
jmiller added 1 commit 2026-06-04 13:01:02 +00:00
fix(settings): always show Licensing nav item in repo settings
Generic: Repo Health / Scripts governance (push) Blocked by required conditions
Generic: Repo Health / Repository health (push) Blocked by required conditions
Generic: Repo Health / Report Issues (push) Blocked by required conditions
Generic: Repo Health / Site Health (push) Has been skipped
Generic: Repo Health / Access control (push) Successful in 1s
Universal: PR Check / Build RC Package (pull_request) Blocked by required conditions
Universal: PR Check / Report Issues (pull_request) Blocked by required conditions
Generic: Repo Health / Scripts governance (pull_request) Blocked by required conditions
Generic: Repo Health / Repository health (pull_request) Blocked by required conditions
Generic: Repo Health / Report Issues (pull_request) Blocked by required conditions
Branch Policy Check / Verify merge target (pull_request) Successful in 1s
Universal: PR Check / Branch Policy (pull_request) Successful in 1s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Generic: Repo Health / Access control (pull_request) Successful in 1s
PR RC Release / Build RC Release (pull_request) Successful in 2s
Universal: PR Check / Validate PR (pull_request) Failing after 5s
Branch Cleanup / Delete merged branch (pull_request) Successful in 1s
64dc6f28fa
The Licensing nav item was gated behind LicensingEnabled, creating a
chicken-and-egg problem: users couldn't reach the settings page to
enable licensing because the nav link was hidden until licensing was
already enabled.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jmiller merged commit 95d4259a26 into dev 2026-06-04 13:01:15 +00:00
jmiller deleted branch fix/licensing-nav-always-visible 2026-06-04 13:01:15 +00:00
Sign in to join this conversation.
No Reviewers
No labels
Status
Type
Status
Priority
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoGitea#456