Skip to content

TenantOptions

TenantOptions = object

Defined in: packages/schema/src/resource.ts:31

How .tenant() separates tenants.

optional across?: "memberships"

Defined in: packages/schema/src/resource.ts:36

memberships: lists also read every other tenant the caller is a member of, each with the caller’s role there, so the tenant field works as a filter across them. A record’s own reads and every write stay in the caller’s tenant.