GrantedAction
GrantedAction =
object
Defined in: packages/permissions/src/granted-actions.ts:12
A single granted action for a table, including the matching grants.
unrestricted: truemeans at least one grant has nowhereclause, so the action is unconditionally permitted for every row.unrestricted: falsemeans all matching grants havewhereclauses, so whether the action is permitted depends on the specific row.
Properties
Section titled “Properties”action
Section titled “action”action:
CrudAction
Defined in: packages/permissions/src/granted-actions.ts:13
grants
Section titled “grants”grants:
Grant[]
Defined in: packages/permissions/src/granted-actions.ts:14
unrestricted
Section titled “unrestricted”unrestricted:
boolean
Defined in: packages/permissions/src/granted-actions.ts:15