Kaizen
Browse modulesTenancyInterfaces

Interface: TenantCoverageInput

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

Properties

allowUnmanaged?

readonly optional allowUnmanaged?: readonly string[];

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

Base tables that carry the tenant column but are intentionally NOT managed (e.g. a shared reference table that happens to have an organization_id). Rarely needed; keep it empty unless you have a real exception.


exec

readonly exec: RowExec;

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

Row-returning executor. Use a PRIVILEGED role — pg_catalog is read directly, but an executor with no visibility to a table can't inventory it.


schema?

readonly optional schema?: string;

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

Schema the tenant tables live in. Default "public".


tables

readonly tables: readonly string[];

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

The tables the RLS scaffold manages (same list passed to buildRlsStatements).


tenantDbColumn?

readonly optional tenantDbColumn?: string;

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

The DB tenant column that marks a table as tenant-scoped. Default "organization_id".

On this page