liveBook · Manning

Deny-overrides

As explained in Authorization in Action

Deny-overrides is a policy-combining rule in which any applicable deny result takes precedence over permit results.

A company may allow engineers to deploy from managed devices during on-call periods, while a universal rule blocks access from non-managed devices. Deny-overrides makes that safety rule decisive: any applicable deny defeats every permit. section 7.0 section 7.3.3

Deny-overrides is a policy-combining rule used by Cedar. After individual policies are filtered and evaluated, one applicable forbid produces Deny, even when permit policies also match. section 7.3.3

The decision sequence is:

  • An applicable forbid evaluates to true: return Deny. section 7.3.3
  • No forbid applies, but an applicable permit evaluates to true: return Allow. section 7.3.3
  • No applicable permit succeeds: return Deny by default. section 7.3.3

Managed-device guardrail

A permit allows deployment when an engineer is on call or within business hours. A forbid blocks every request from a non-managed device. A non-managed device therefore receives Deny regardless of the permit. section 7.0 section 7.3.3

How Authorization in Action covers it

How deep it goes
Explains forbid, permit, and default-deny evaluation rules, plus safety and order-independence consequences.
Examples
Uses deployment access, managed-device restrictions, on-call status, business hours, and universal deny guardrails.
What you can do after
Evaluate combined authorization results with explicit permits, deny-by-default behavior, and denial precedence.
How it connects
Connects policy evaluation with explicit permits, implicit deny, dynamic authorization, attributes, relationships, and contextual conditions.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Authorization in Action. The section links point to the parts of the book it draws on.