Product tier admin — define tiers and repo-to-tier mappings #627

Open
opened 2026-06-12 08:00:27 +00:00 by jmiller · 0 comments
Owner

Phase 3.3 — Tier Management UI

Parent: #616 | Depends on: #624

Gitea template: templates/admin/license_tiers.tmpl

Admin page for defining product tiers:

  • Tier list showing: key, name, included repos, max domains, license count using this tier
  • Create/edit tier: name, key, select repos from org, set default max domains
  • Visual repo picker (checkboxes with repo icons)
  • Tier usage stats (how many licenses use each tier)
  • Warning before modifying a tier with active licenses (will rebuild all entitlements)

Acceptance criteria

  • CRUD for product tiers
  • Repo picker showing available org repos
  • Tier modification triggers entitlement rebuild for all affected licenses
  • Cannot delete a tier with active licenses (must reassign first)
## Phase 3.3 — Tier Management UI Parent: #616 | Depends on: #624 ### Gitea template: `templates/admin/license_tiers.tmpl` Admin page for defining product tiers: - Tier list showing: key, name, included repos, max domains, license count using this tier - Create/edit tier: name, key, select repos from org, set default max domains - Visual repo picker (checkboxes with repo icons) - Tier usage stats (how many licenses use each tier) - Warning before modifying a tier with active licenses (will rebuild all entitlements) ### Acceptance criteria - [ ] CRUD for product tiers - [ ] Repo picker showing available org repos - [ ] Tier modification triggers entitlement rebuild for all affected licenses - [ ] Cannot delete a tier with active licenses (must reassign first)
Sign in to join this conversation.