generated from coulomb/repo-seed
Add tenant-aware user-engine behavior
This commit is contained in:
@@ -52,3 +52,12 @@ registration, catalog publication, profile writes, effective profile
|
||||
resolution, projections, audit inspection, and outbox inspection. The first
|
||||
store is `InMemoryUserEngineStore`, which carries an explicit schema version
|
||||
and migration hook so later database-backed stores have a contract to match.
|
||||
|
||||
## Tenant Surface
|
||||
|
||||
Tenant-aware operations resolve an explicit `TenantContext` before mutating
|
||||
tenant-scoped state. Tenant admins can operate inside their own tenant, while
|
||||
platform-root and cross-tenant operations require the `platform-operator`
|
||||
role. Tenant account state, memberships, tenant profile layers, authorization
|
||||
facts, audit records, outbox events, and diagnostics all carry the resolved
|
||||
tenant.
|
||||
|
||||
Reference in New Issue
Block a user