Skip to main content

PermissionEvaluator.authorize()

Home > @backstage/plugin-permission-common > PermissionEvaluator > authorize

Evaluates Permissions and returns a definitive decision.

Signature:

authorize(requests: AuthorizePermissionRequest[], options?: EvaluatorRequestOptions & {
_ignored?: never;
}): Promise<AuthorizePermissionResponse[]>;

Parameters

Parameter

Type

Description

requests

AuthorizePermissionRequest[]

options

EvaluatorRequestOptions & { _ignored?: never; }

(Optional)

**Returns:**

Promise<AuthorizePermissionResponse[]>