# `AshWorkflow.Verifiers.ValidateStepPolicies`
[🔗](https://github.com/team-alembic/ash_workflow/blob/v0.12.0/lib/ash_workflow/verifiers/validate_step_policies.ex#L1)

Verifies that a workflow declaring a policy has an authorizer to enforce it.

`AshWorkflow.Transformers.AddPolicies` generates nothing when
`Ash.Policy.Authorizer` is absent, so a `policy` on a step or on the `undo`
block was accepted and then never enforced. Every caller was authorized,
including the ones the policy named. Declaring an authorization rule and
getting none is the one failure that should never be silent, so it is a
compile error.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
