-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
privilege: fix show grants privilege check #15524
Conversation
Codecov Report
@@ Coverage Diff @@
## master #15524 +/- ##
===============================================
+ Coverage 80.4029% 80.414% +0.0111%
===============================================
Files 503 503
Lines 134408 134423 +15
===============================================
+ Hits 108068 108095 +27
+ Misses 17838 17836 -2
+ Partials 8502 8492 -10 |
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
LGTM |
/merge |
Your auto merge job has been accepted, waiting for 15534 |
/run-all-tests |
@imtbkcat merge failed. |
feedf60
to
ff9f5d6
Compare
/run-all-tests |
ff9f5d6
to
0455ca1
Compare
/run-all-tests |
/run-all-tests tidb-test=pr/1009 |
/run-common-test tidb-test=pr/1009 |
/run-integration-common-test tidb-test=pr/1009 |
/merge |
/run-all-tests |
cherry pick to release-3.0 in PR #15601 |
Signed-off-by: sre-bot <sre-bot@pingcap.com>
cherry pick to release-3.1 in PR #15602 |
Signed-off-by: sre-bot <sre-bot@pingcap.com>
What problem does this PR solve?
SHOW GRANTS
needSELECT
privilege onmysql
database, but tidb dosen't check.What is changed and how it works?
add privilege check for
show grants
Related changes
Check List
Tests
Side effects
Release note
fix
SHOW GRANTS
privilege check