Companion

Properties

Link copied to clipboard

Every aggregate is in its caller's tenant.

Functions

Link copied to clipboard

The one tenant caller reaches (reaches): its own; null for a caller that may act across scopes, which reaches every tenant. A read that a store filters by tenant takes it.

Link copied to clipboard

The aggregates of each type of tenants are in its tenant, those of the other types in their caller's.

Link copied to clipboard
fun reaches(caller: Caller, tenantId: String): Boolean

Whether caller reaches what is in tenantId, whatever tenant a type is fixed to: its own tenant, and every tenant for a caller that may act across scopes.