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 | ||
options |
EvaluatorRequestOptions & { _ignored?: never; } |
(Optional) |
Promise<AuthorizePermissionResponse[]>