Skip to content

CapabilityLimit

CapabilityLimit = readonly string[] | { fields?: readonly string[]; filter?: string; }

Defined in: packages/schema/src/access/role-entry.ts:9

What a capability is limited to: the fields it allows, an allowlist (['sku', 'price']), a row filter in AIP-160 text that is ANDed into its rows ({ filter: 'published = true' }), or both ({ fields: [...], filter: '...' }).

readonly string[]


{ fields?: readonly string[]; filter?: string; }

readonly optional fields?: readonly string[]

The only fields the capability reads or writes.

readonly optional filter?: string

AIP-160 text the capability’s rows must match.