What this context does
Owns the tenant entity — the top-level scope for everything a user does in TalkIDE. In MVP every user owns exactly one tenant; the model already supports many-tenants-per-user for the future without a breaking change.
Scope boundary
- Owns:
Tenantentity, tenant settings, slug. - Does not own: tenant membership / invites (UC-08003 planned), per-tenant quota / fatigue state (UC-08002 planned).
Main entities
TENANT — id, name, slug, ownerId, timestamps. slug is derived from owner email
on creation; user-facing display name (name) is independent.
Use cases
| UC | What it does |
|---|---|
| UC-02001 | View Tenant Settings |
| UC-02002 | Update Tenant Settings |
Component diagram
{/* Image missing: UC-02 Tenant Management — Component View (../../assets/diagrams/uc02Components.svg) */}
Dependencies on other contexts
- UC-01 User Management — Tenant is created during Sign Up (UC-01001).
- UC-03 Project Management — every Project belongs to a Tenant; row-level isolation
by
tenant_idper ADR-001.
Was this page helpful?
Thanks for the feedback.