Skip to main content

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

AuthorizePermissionRequest[]

options

PermissionsServiceRequestOptions

**Returns:**

Promise<AuthorizePermissionResponse[]>

Remarks

The returned array has the same number of items, in the same order, as the given requests.