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
| Parameter | Type |
|---|---|
resourceType | string |
field | string |
Returns
string | undefined
get()
get(resourceType: string): ResourceAuthzDef | undefined;Defined in: shared/access/registry.ts:158
Parameters
| Parameter | Type |
|---|---|
resourceType | string |
Returns
ResourceAuthzDef | undefined
isIndexable()
isIndexable(resourceType: string, field: string): boolean;Defined in: shared/access/registry.ts:159
Parameters
| Parameter | Type |
|---|---|
resourceType | string |
field | string |
Returns
boolean