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.
Properties
Section titled “Properties”invisible
Section titled “invisible”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
Section titled “permitted”permitted:
boolean
Defined in: packages/actions/src/types.ts:121
Whether the user has all required permissions for this action.
reason
Section titled “reason”reason:
string|null
Defined in: packages/actions/src/types.ts:125
Human-readable explanation when permitted is false, otherwise null.