Skip to main content

PermissionCheckResult

Result of a permission check

type PermissionCheckResult {
resourceId: String!
scope: String!
granted: Boolean!
}

Fields

PermissionCheckResult.resourceId ● String! non-null scalar

The resource ID that was checked

PermissionCheckResult.scope ● String! non-null scalar

The scope that was checked

PermissionCheckResult.granted ● Boolean! non-null scalar

Whether the permission is granted

Returned By

checkPermissions query