Skip to content

ActionPermissionStatus

ActionPermissionStatus = object

Defined in: packages/actions/src/types.ts:119

The resolved permission status for a single action.

Computed by checkPermissionStatus and sent to the client via _actionPermissions in loader data.

invisible: boolean

Defined in: packages/actions/src/types.ts:123

true when the user lacks every permission — the UI should hide the control entirely.


permitted: boolean

Defined in: packages/actions/src/types.ts:121

Whether the user has all required permissions for this action.


reason: string | null

Defined in: packages/actions/src/types.ts:125

Human-readable explanation when permitted is false, otherwise null.