Skip to content

ActionPermissionStatus

ActionPermissionStatus = object

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

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:225

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


permitted: boolean

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

Whether the user has all required permissions for this action.


reason: string | null

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

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