Skip to main content

CapabilityPermissionValue

Normalized permission check result where allowed is derived from whether reason is present, rather than being computed independently.

type CapabilityPermissionValue {
allowed: Boolean!
reason: CapabilityReasons
}

Fields​

CapabilityPermissionValue.allowed ● Boolean! non-null scalar​

True exactly when no denial reason is returned.

CapabilityPermissionValue.reason ● CapabilityReasons enum​

Reason the action is denied; null when the action is allowed.

Member Of​

CapabilityPageSpeedPermission object ● CapabilityPermission object ● GettingStarted object