Repository navigation
docs(authz): feedback PEP (subject-proving) design + plan - #81
Draft
phoebus-84 wants to merge 2 commits into
Draft
phoebus-84 wants to merge 2 commits into
phoebus-84 wants to merge 2 commits into
Conversation
Second service wired to the cross-service PDP. Feedback trusts a self-asserted x-user-id header (the proxy forwards it verbatim), so a valid signer can act as any user. The PDP re-verifies the signature and returns the proven Person.id; feedback writes under it and treats x-user-id as non-authoritative. Ownership rules stay in feedback SQL. Enforce now; server-side only, no GUI/SDK/proxy change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
6-task TDD plan across zenflows PDP (feedback action family + proven subject, transport binding relaxation) and the feedback service (pure authz package, PDP client, AuthzMiddleware, wiring). Global constraints, 5-item Review Focus, full code per step. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This was referenced Oct 15, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #79 (cross-service authz design + contract vectors). Adds the feedback PEP (subject-proving) design and TDD plan for the second service wired to the cross-service PDP.
What's here
docs/cross-service-authz-feedback-design.md— the feedback service trusts a self-assertedx-user-idheader (the reverse proxy forwards it verbatim), so any valid signer can act as any user. The Zenflows PDP re-verifies the signature and returns the provenPerson.id; feedback writes under it. Ownership rules stay in feedback SQL. Enforce-now; server-side only (no GUI/SDK/proxy change).docs/cross-service-authz-feedback-plan.md— 6-task TDD plan across the zenflows PDP and the feedback service.See the stacked implementation PRs: zenflows
feat/authz-feedback-pdpand interfacer-feedback-servicefeat/authz-pep.🤖 Generated with Claude Code