You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deferred follow-up to the ALLOW/DENY Feature (linked as parent sub-issue). Design reference: s-and-p-team/cortex#115.
What to build
Add conflict / precedence resolution for ALLOW-vs-DENY collisions.
The initial ALLOW/DENY work assumes no conflict: no (role, scope) is ever both ALLOW and DENY for the same subject, so DENY simply subtracts and there is no tie-break to reason about. This issue tracks lifting that assumption — defining and enforcing precedence when a subject reaches the same scope via a cross-role ALLOW and a DENY (e.g. deny-wins vs. specificity-based resolution), across model, PCE derivation, and generated Rego.
This is deliberately deferred and depends on the base two-sided model being in place.
Acceptance criteria
A precedence policy for cross-role ALLOW-vs-DENY collisions is defined and documented.
PCE derivation and generated Rego enforce it consistently at every gate.
Tests cover the collision cases the no-conflict assumption previously excluded.
Blocked by
The base ALLOW/DENY Feature (model + PCE + PDP writer) must land first.
Activity
Docs: Document source-side deny property + AIAC_DEFAULT_EFFECT knob