Hard rules and change-request rules #1989

Closed
opened 2026-11-14 14:42:48 +00:00 by sam · 1 comment
Owner

Deterministic policy. Hard rules run first on the exact action and target and can only refuse; nothing overrides them. Change-request rules run after the guards, read their verdicts, and decide only whether approval goes through a change request. Both are drafted at first run.

Done when: an action a hard rule forbids is refused before any guard runs, and the unknown-impact rule sends the container sequence to a change request.

Spec: section 5 rule 1, R25.

Deterministic policy. Hard rules run first on the exact action and target and can only refuse; nothing overrides them. Change-request rules run after the guards, read their verdicts, and decide only whether approval goes through a change request. Both are drafted at first run. Done when: an action a hard rule forbids is refused before any guard runs, and the unknown-impact rule sends the container sequence to a change request. Spec: section 5 rule 1, R25.
sam added the featurehigh labels 2026-11-14 14:42:48 +00:00
sam added a new dependency 2026-11-14 14:42:59 +00:00
sam changed title from Hard rules judge each concrete action before guards to Hard rules and change-request rules 2026-11-14 16:02:43 +00:00
Author
Owner

Done (82cfc1de5): hard rules and change-request rules are versioned Cedar policy sets per organisation (GET/PUT /api/policies/hard-rules and /api/policies/change-request, dashboard Policies view), seeded from a starter set. Hard rules run first and a forbid refuses before any guard runs, recorded with the policy id; change-request rules read the guards' verdicts and set the decision's change-request flag (starter rule: unknown impact). Raising the request itself is #1983. On staging.

Done (82cfc1de5): hard rules and change-request rules are versioned Cedar policy sets per organisation (GET/PUT /api/policies/hard-rules and /api/policies/change-request, dashboard Policies view), seeded from a starter set. Hard rules run first and a forbid refuses before any guard runs, recorded with the policy id; change-request rules read the guards' verdicts and set the decision's change-request flag (starter rule: unknown impact). Raising the request itself is #1983. On staging.
sam closed this issue 2026-11-15 22:42:36 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#1989