PermissionsService.authorize()
Home > @backstage/backend-plugin-api
> PermissionsService
> authorize
Evaluates Permissions and returns definitive decisions.
Signature:
authorize(requests: AuthorizePermissionRequest[], options: PermissionsServiceRequestOptions): Promise<AuthorizePermissionResponse[]>;
Parameters
Parameter |
Type |
Description |
---|---|---|
requests | ||
options |
Promise<AuthorizePermissionResponse[]>
Remarks
The returned array has the same number of items, in the same order, as the given requests.