PolicyQuery
Home > @backstage/plugin-permission-node
> PolicyQuery
A query to be evaluated by the PermissionPolicy.
Signature:
export type PolicyQuery = {
permission: Permission;
};
References: Permission
Remarks
Unlike other parts of the permission API, the policy does not accept a resource ref. This keeps the policy decoupled from the resource loading and condition applying logic.