Tenant Context
Existing resolver support is preserved through host, x-tenant-id, workspace, and query context. No tenant records are created here.
Admin workspace
Governance, executive dashboards, observability, module control, and ERP route clarity.
Global SaaS readiness
Read-only multi-tenant readiness across workspaces, companies, roles, permissions, plans, seller entitlements, buyer scope, ERP navigation, audit context, localization, currency, tax, and country settings.
Existing resolver support is preserved through host, x-tenant-id, workspace, and query context. No tenant records are created here.
Billing, SSO/MFA, live FX, statutory tax filing, messaging, object storage, gateway, payout, and logistics remain provider/config gated.
The backend route is read-only and declares no DB schema change, no DB mutation, no provider credentials, no money movement, and no fake tenant billing success.
| Area | Scope | Readiness detail |
|---|---|---|
| Tenant/workspace readiness | tenantId + workspaceId | Reads platform tenant, global tenant, and ERP workspace sources without creating tenants. |
| Company/entity switching | companyId + entityId | Aligns ERP company navigation with workspace context for multi-company switching readiness. |
| Role/permission tenant scope | tenant-scoped RBAC | Surfaces tenant roles, permissions, ERP access, and audit context as read-only checks. |
| Subscription plan scope | config gated | Shows tenant plan metadata only; billing success is not asserted without a provider. |
| Seller module entitlements | module scope | Keeps seller module access tied to tenant entitlement metadata and existing module routes. |
| Buyer/company workspace | buyer company scope | Keeps buyer dashboard operations scoped to company and workspace context. |
| ERP multi-company navigation | ERP workbench | Routes operators back to the existing ERP workbench for company, branch, book, and workspace context. |
| Audit tenant context | readback only | Uses ERP audit sources and request tenant context without mutating audit rows. |
| Global and localization settings | country/currency/tax | Shows country, currency, tax, and localization master-data readiness with no live FX or tax API. |
| Admin tenant operations | dashboard ready | Central admin surface for tenant operations, provider gaps, and cross-workspace route links. |