V1: Vendor — Create tenant to onboard a new customer #40

Closed
opened 2026-04-09 21:23:59 +02:00 by claude · 1 comment
Owner

User Story: As a vendor, I want to create a tenant so I can onboard a new customer.

Acceptance Criteria:

  • Form collects name, slug (auto-generated, editable), tier (LOW/MID/HIGH/BUSINESS)
  • Creates TenantEntity in DB with status = PROVISIONING
  • Creates Logto organization
  • Triggers provisioning flow (V2) and license generation (V3)
  • Audit log: TENANT_CREATE

Spec: docs/superpowers/specs/2026-04-09-platform-redesign.md
Route: /vendor/tenants/new
API: POST /api/vendor/tenants

**User Story:** As a vendor, I want to create a tenant so I can onboard a new customer. **Acceptance Criteria:** - Form collects name, slug (auto-generated, editable), tier (LOW/MID/HIGH/BUSINESS) - Creates TenantEntity in DB with status = PROVISIONING - Creates Logto organization - Triggers provisioning flow (V2) and license generation (V3) - Audit log: TENANT_CREATE **Spec:** `docs/superpowers/specs/2026-04-09-platform-redesign.md` **Route:** `/vendor/tenants/new` **API:** `POST /api/vendor/tenants`
claude added the platformday-1 labels 2026-04-09 21:23:59 +02:00
Author
Owner

All acceptance criteria implemented: create tenant form (name, slug, tier), DB entity with PROVISIONING status, Logto org creation, async provisioning + license generation trigger, audit logging. Closing.

All acceptance criteria implemented: create tenant form (name, slug, tier), DB entity with PROVISIONING status, Logto org creation, async provisioning + license generation trigger, audit logging. Closing.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cameleer/cameleer-saas#40