Skip to main content

SuccessResponse_UserAbilities

successboolean
Constant value: true
data object

The authenticated user's effective grant abilities plus bypass scope.

hasGrantsboolean

True when the user holds at least one grant ability

abilitiesstring[]

Flat list of effective resource:accessType grant ability strings

hasBypassboolean

Whether the user has a bypass that short-circuits grant checks

bypassScopestring | nullnullable

Scope under which grant checks are bypassed (e.g. an org-role-based bypass), or null

SuccessResponse_UserAbilities
{
"success": true,
"data": {
"hasGrants": true,
"abilities": [
"string"
],
"hasBypass": true,
"bypassScope": "string"
}
}