Admin: Tenant creation UI #37

Closed
opened 2026-04-07 12:31:59 +02:00 by claude · 1 comment
Owner

The admin tenant list page (/admin/tenants) is read-only. The backend POST /api/tenants endpoint exists with @PreAuthorize("SCOPE_platform:admin") and calls LogtoManagementClient.createOrganization(), but there is no frontend form to create tenants.

Requirements

  • "Create Tenant" button on AdminTenantsPage
  • Form: tenant name, slug (auto-generated from name), tier selection
  • On submit: POST /api/tenants → creates DB tenant + Logto organization
  • Redirect to new tenant dashboard or back to tenant list

Dependencies

  • Backend is ready (TenantService.create, TenantController.create)
  • LogtoManagementClient.createOrganization works
The admin tenant list page (`/admin/tenants`) is read-only. The backend `POST /api/tenants` endpoint exists with `@PreAuthorize("SCOPE_platform:admin")` and calls `LogtoManagementClient.createOrganization()`, but there is no frontend form to create tenants. ## Requirements - "Create Tenant" button on `AdminTenantsPage` - Form: tenant name, slug (auto-generated from name), tier selection - On submit: POST /api/tenants → creates DB tenant + Logto organization - Redirect to new tenant dashboard or back to tenant list ## Dependencies - Backend is ready (TenantService.create, TenantController.create) - LogtoManagementClient.createOrganization works
Author
Owner

Superseded by platform redesign spec (docs/superpowers/specs/2026-04-09-platform-redesign.md). Tenant creation is now part of the full vendor console: #40 (create tenant), #41 (provision server), #42 (generate license).

Superseded by platform redesign spec (`docs/superpowers/specs/2026-04-09-platform-redesign.md`). Tenant creation is now part of the full vendor console: #40 (create tenant), #41 (provision server), #42 (generate license).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cameleer/cameleer-saas#37