feat(licenses): add domain restriction to packages and key generation #463

Merged
jmiller merged 1 commits from feat/license-domain-restriction into dev 2026-06-04 14:07:02 +00:00
Owner
  • Package-level domain restriction (inherited by keys)
  • Key generation modal with licensee name, email, domain fields
  • Migration v344 adds domain_restriction column to license_package
  • Domain enforcement already exists in heartbeat validation
- Package-level domain restriction (inherited by keys) - Key generation modal with licensee name, email, domain fields - Migration v344 adds domain_restriction column to license_package - Domain enforcement already exists in heartbeat validation
jmiller added 1 commit 2026-06-04 14:06:27 +00:00
feat(licenses): add domain restriction to packages and key generation
Generic: Repo Health / Scripts governance (push) Blocked by required conditions
Generic: Repo Health / Repository health (push) Blocked by required conditions
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 / Report Issues (push) 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
Generic: Repo Health / Site Health (push) Has been skipped
Branch Policy Check / Verify merge target (pull_request) Successful in 1s
Generic: Repo Health / Access control (push) Successful in 2s
Universal: PR Check / Branch Policy (pull_request) Successful in 2s
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 7s
Branch Cleanup / Delete merged branch (pull_request) Successful in 2s
e4ea1303ea
- Add DomainRestriction field to LicensePackage model with migration
- Packages can define default allowed domains (comma-separated)
- Key generation form now includes licensee name, email, and domain
  fields in a proper modal instead of a tiny inline form
- Keys inherit domain restriction from their package if not overridden
- Package create/edit forms include domain restriction input
- Domain enforcement already exists in heartbeat validation

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
jmiller merged commit 74194f4283 into dev 2026-06-04 14:07:02 +00:00
jmiller deleted branch feat/license-domain-restriction 2026-06-04 14:07:02 +00:00
Sign in to join this conversation.
No Reviewers
No labels
Status
Status
Priority
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoGitea#463