Skip to main content

UserAbilities

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

UserAbilities
{
"hasGrants": true,
"abilities": [
"string"
],
"hasBypass": true,
"bypassScope": "string"
}