Skip to main content

PolicyQuery

Home > @backstage/plugin-permission-node > PolicyQuery

A query to be evaluated by the PermissionPolicy.

Signature:
type PolicyQuery = {
permission: Permission;
};
References: [Permission](/docs/reference/plugin-permission-common.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.