Kaizen
Browse modulesAccessaccess/sharedInterfaces

Interface: ResourceAuthzRegistry

Defined in: shared/access/registry.ts:156

Properties

defs

readonly defs: Readonly<Record<string, ResourceAuthzDef>>;

Defined in: shared/access/registry.ts:157

Methods

columnFor()

columnFor(resourceType: string, field: string): string | undefined;

Defined in: shared/access/registry.ts:161

The DB column a selector field maps to, if indexable.

Parameters

ParameterType
resourceTypestring
fieldstring

Returns

string | undefined


get()

get(resourceType: string): ResourceAuthzDef | undefined;

Defined in: shared/access/registry.ts:158

Parameters

ParameterType
resourceTypestring

Returns

ResourceAuthzDef | undefined


isIndexable()

isIndexable(resourceType: string, field: string): boolean;

Defined in: shared/access/registry.ts:159

Parameters

ParameterType
resourceTypestring
fieldstring

Returns

boolean

On this page