Skip to content

[F] findMissingPermissions

function findMissingPermissions(requested, granted): Permission[];

Determine which of the requested permissions are NOT covered by granted. Returns granular Permissions suitable for building an actionable diagnostic telling the user exactly what to add to their config.

ParameterType
requestedPermissionSet
grantedPermissionSet

Permission[]