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
