Kaizen
Browse modulesTenancyFunctions

Function: assertTenantTablesCovered()

function assertTenantTablesCovered(input: TenantCoverageInput): Promise<void>;

Defined in: server/tenancy/coverage.ts:80

Throw if any tenant-scoped table (carries tenantDbColumn) is missing from the managed tables list — the coverage guard. A passing call proves no scoped table ships un-policied. (Does NOT prove the listed tables are actually protected — pair with assertRlsEnabled for that.)

Parameters

ParameterType
inputTenantCoverageInput

Returns

Promise<void>

On this page