Skip to main content

Function: compilePolicyWhere()

compilePolicyWhere(args): CompiledPolicyWhere

Defined in: compilePolicyWhere.ts:17

The where of the rows of list the policy sets allow action on: a row passes exactly when iam.decideOnChain allows it.

Parameters​

ParameterType
args{ action: string; columns: RowColumns; iam: Pick<Iam, "compileRowFilter">; list: ListedRows; policies: PolicySets; }
args.actionstring
args.columnsRowColumns
args.iamPick<Iam, "compileRowFilter">
args.listListedRows
args.policiesPolicySets

Returns​

CompiledPolicyWhere