-
Notifications
You must be signed in to change notification settings - Fork 89
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
mysql_user: fix broken compatibility for priviledge aliases #233
mysql_user: fix broken compatibility for priviledge aliases #233
Conversation
Codecov Report
@@ Coverage Diff @@
## main #233 +/- ##
==========================================
+ Coverage 77.60% 77.61% +0.01%
==========================================
Files 24 24
Lines 2170 2171 +1
Branches 510 510
==========================================
+ Hits 1684 1685 +1
Misses 319 319
Partials 167 167
Continue to review full report at Codecov.
|
@jb-2197 @tuhoanganh as i mentioned in the issue, we don't have mariadb in our CI, so could you please help with testing?
More complex method is described there |
ready_for_review |
@bmalynovytch thanks for reviewing and merging! I'll release the patch (i.e. |
Sorry I'm late for the conversation :/ . If I understand, there are some alias privileges we lost when merging #217 . Having a hard coded list of alias privileges merged with the dynamic privilege list could be enough? |
But what you commented in #232 (comment) makes sense and it deserves reflexion. |
@Andersson007 Sorry for the late reply :(
ANSIBLE VERSION
COLLECTION VERSION
PR APPLIED
INVENTORY FILE
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
SUMMARY |
@tuhoanganh ah, no problem at all! We were fast this time:) and I haven't released the patch yet, we'll do it today later. |
…collections#233) * mysql_user: fix broken compatibility for priviledge aliases * add changelog fragment * fix changelog fragment * Improve formatting (cherry picked from commit bb3e9fd)
* Copy ignore-2.12.txt to ignore-2.13.txt (#225) (cherry picked from commit 4f205ef) * CI matrix update (#226) * CI matrix update * Fix test_mysql_user * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI (cherry picked from commit fc984b2) * integration tests: remove superfluous debug task (#228) * integration tests: remove superfluous debug task * Turn off integration tests against devel (cherry picked from commit f47d463) * mysql_user: fix broken compatibility for priviledge aliases (#233) * mysql_user: fix broken compatibility for priviledge aliases * add changelog fragment * fix changelog fragment * Improve formatting (cherry picked from commit bb3e9fd)
SUMMARY
Fixes #232
VALID_PRIVS
frozenset.SHOW PRIVILEGES
command.SHOW PRIVILEGES
output but they were present in theVALID_PRIVS
frozenset.VALID_PRIVS
has brought breaking changes.This PR:
VALID_PRIVS
removed in mysql_user: replace VALID_PRIVS by get_valid_privs() function #217show_privs
(fetched from server dynamically) andEXTRA_PRIVS
ISSUE TYPE