-
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 parsing privs when a user has roles assigned to it #341
Conversation
Codecov Report
@@ Coverage Diff @@
## main #341 +/- ##
==========================================
+ Coverage 78.27% 78.30% +0.02%
==========================================
Files 27 27
Lines 2251 2254 +3
Branches 543 544 +1
==========================================
+ Hits 1762 1765 +3
Misses 333 333
Partials 156 156
Continue to review full report at Codecov.
|
ready_for_review |
Should we test the use privs from initial issue or is it already covered by the tests?
|
Not sure if it's essential in this case ..and it reports "Invalid priv string":) Maybe depends on a server version |
@rsicart what do you think about the logic of the solution? |
It's simple fix that gets de job done. And all tests are green. LGTM 👍 |
@rsicart thanks for reviewing!:) |
Backport to stable-2: 💔 cherry-picking failed — conflicts found❌ Failed to cleanly apply 8d114c7 on top of patchback/backports/stable-2/8d114c7e39d8ec8b9b3592e6bb9e259db92af6e3/pr-341 Backporting merged PR #341 into main
🤖 @patchback |
SUMMARY
Fixes #231
In essence, i think we can ignore the second priv tuple because we use mysql_role module to manipulate roles:
ISSUE TYPE