We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please answer these questions before submitting your issue. Thanks!
With dynamic privileges the "grant option" is per privilege and not global. This is correctly handled in GRANT, but not in REVOKE.
GRANT
REVOKE
If there a no-non dynamic privileges being revoked, then the global grant option should not be required:
tidb/planner/core/planbuilder.go
Line 2271 in adfe029
This bug was introduced in the new feature in #22778 ; and does not affect any current released versions.
The text was updated successfully, but these errors were encountered:
/severity moderate
Sorry, something went wrong.
Revoke did not work correctly with dynamic privileges.
unreleased
master
morgo
Successfully merging a pull request may close this issue.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
With dynamic privileges the "grant option" is per privilege and not global. This is correctly handled in
GRANT
, but not inREVOKE
.If there a no-non dynamic privileges being revoked, then the global grant option should not be required:
tidb/planner/core/planbuilder.go
Line 2271 in adfe029
This bug was introduced in the new feature in #22778 ; and does not affect any current released versions.
The text was updated successfully, but these errors were encountered: