Kaizen
Browse modulesInsightsinsights/serverInterfaces

Interface: SavedReportAuthorizationFields

Defined in: server/insights/saved-reports-repository.ts:59

Everything a WRITE-authorization decision needs about a saved report, and nothing else. definition is deliberately ABSENT — see SavedReportsRepository.getAuthorizationFields for why omitting it is the whole point of this shape and not a micro-optimization.

subjectKey is here because updateDefinition validates the incoming definition's subject against the row's stored, never-rewritten subjectKey; that check must keep working on a row whose definition no longer parses.

Properties

createdBy

createdBy: string | null;

Defined in: server/insights/saved-reports-repository.ts:64


id

id: string;

Defined in: server/insights/saved-reports-repository.ts:60


organizationId

organizationId: string;

Defined in: server/insights/saved-reports-repository.ts:61


subjectKey

subjectKey: string;

Defined in: server/insights/saved-reports-repository.ts:62


visibility

visibility: "public" | "private";

Defined in: server/insights/saved-reports-repository.ts:63

On this page