Repository navigation
Document what request-level authorization covers - #7352
Merged
Merged
Conversation
Authorization decides on the request and never sees what the backend resolves or writes while serving a permitted call. Under a shared backend credential, a policy pinned to one object can still permit a call that returns or touches other users' objects. State that limit and point to per-user backend credentials as the control for data-level isolation. Co-Authored-By: Claude Opus 5.5 <[email protected]>
2 tasks done
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7352 +/- ##
==========================================
+ Coverage 82.56% 82.58% +0.02%
==========================================
Files 941 942 +1
Lines 96689 96806 +117
==========================================
+ Hits 79829 79952 +123
+ Misses 16855 16849 -6
Partials 5 5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
aponcedeleonch
previously approved these changes
Nov 27, 2026
A mutating webhook rewrites the request before authorization runs, and vMCP composite tools reshape outputs, so describe what authorization itself evaluates and filters rather than what reaches the client. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Summary
docs/authz.mdexplains in detail how policies decide, but never says what they cannot see. Authorization decides on the request (claims, operation, resource ID, arguments). It does not inspecttools/callresults or the backend's side effects. When an MCP server reaches its backend with one shared credential, a policy pinned to one object can still permit a call that returns related objects of other users, or makes the backend write outside the pinned object. Operators who rely on argument-pinned policies for multi-user isolation need to know this.Type of change
Test plan
Ran
codespell docs/authz.md, and checked that the#list-operationsandmiddleware.md#understanding-auth-upstream-swap-and-token-exchange-middlewareanchors resolve to existing headings.Special notes for reviewers
The user-facing docs site gets a matching change in stacklok/docs-website.
🤖 Generated with Claude Code