Skip to content

feat: replace OPA allow rule with deny-reasons protocol#207

Merged
alecthomas merged 1 commit intomainfrom
aat/opa-deny-reasons
Mar 20, 2026
Merged

feat: replace OPA allow rule with deny-reasons protocol#207
alecthomas merged 1 commit intomainfrom
aat/opa-deny-reasons

Conversation

@alecthomas
Copy link
Collaborator

Replace the boolean allow rule with a deny set rule under package cachew.authz. Policies now collect human-readable denial reason strings. If the deny set is empty the request is allowed; otherwise it is rejected and the reasons are included in the response body and server logs.

@alecthomas alecthomas requested a review from a team as a code owner March 20, 2026 12:01
@alecthomas alecthomas requested review from stuartwdouglas and removed request for a team March 20, 2026 12:01
@alecthomas alecthomas enabled auto-merge (squash) March 20, 2026 12:01
@alecthomas alecthomas merged commit f554aa3 into main Mar 20, 2026
6 checks passed
@alecthomas alecthomas deleted the aat/opa-deny-reasons branch March 20, 2026 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant