PermissionApi
Home > @backstage/plugin-permission-react
> PermissionApi
This API is used by various frontend utilities that allow developers to implement authorization within their frontend plugins. A plugin developer will likely not have to interact with this API or its implementations directly, but rather with the aforementioned utility components/hooks.
Signature:
export type PermissionApi = {
authorize(request: EvaluatePermissionRequest): Promise<EvaluatePermissionResponse>;
};
References: EvaluatePermissionRequest, EvaluatePermissionResponse