-
Notifications
You must be signed in to change notification settings - Fork 490
New issue
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
parser: introduce a new privilege for the set config
statement
#835
Conversation
Codecov Report
@@ Coverage Diff @@
## master #835 +/- ##
=======================================
Coverage 78.35% 78.36%
=======================================
Files 40 40
Lines 14755 14757 +2
=======================================
+ Hits 11562 11564 +2
Misses 2512 2512
Partials 681 681 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
/rebuild |
/run-all-tests |
The build-integration test seems to be failed, is there a corresponding PR in TiDB? |
Yes, it's pingcap/tidb#16847. |
LGTM |
What problem does this PR solve?
Close #826.
After #768, we can use
set config
on TiDB to update configs of TiKV/PD.Now the privilege of this statement is
PrivSuper
, which is not appropriate.We should introduce a new privilege for it.
What is changed and how it works?
Introduce a new privilege
CONFIG_PRIV
.Check List
Tests