fix(query): support table index privilege checks#20124
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4bed86e8e3
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
@codex review |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
Allow table index create, refresh, and drop operations with target table ALTER access or ownership, while preserving GLOBAL SUPER as a compatibility fallback. Document the scoped table-index privilege model and add RBAC coverage for denied, ALTER, database owner, and SUPER cases.
|
LGTM |
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
Summary
Allow table index create, refresh, and drop operations with target table ALTER access or ownership, while preserving GLOBAL SUPER as a compatibility fallback.
Document the scoped table-index privilege model and add RBAC coverage for denied, ALTER, database owner, and SUPER cases.
Tests
Type of change
This change is