Conversation
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.
Semantic-model grant/revoke requests currently return HTTP 500 with built-in RBAC when the catalog, namespace, model, or recipient role is missing: authorization tries to read a fully resolved path before it can make a decision.
Retain validated ancestors during resolution for these two operations so RBAC can check the caller's existing grants. For example, a grant manager on a namespace gets HTTP 404 for a missing model within that namespace; a caller without the required privileges gets HTTP 403. Revoke still checks the recipient role's grant-management permission independently, and existence checks prevent changes when a target is missing. Missing catalogs return HTTP 403 under the existing privilege model.
Related to #5492; follow-up to the missing-target review discussion. Other operations retain their existing resolution behavior.
Checklist
CHANGELOG.md(if needed)site/content/in-dev/unreleased(if needed)Prepared with AI assistance.