mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-07-25 14:20:24 -07:00
* mysql_role: fix and simplify role membership detection
* add changelog fragment
* Update changelogs/fragments/368-mysql_role-fix-member-detection.yml
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Felix Hamme <felix.hamme@ionos.com>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
(cherry picked from commit 07a72865f7
)
Co-authored-by: betanummeric <40263343+betanummeric@users.noreply.github.com>
This commit is contained in:
parent
c02e46e7b0
commit
e34cfba109
2 changed files with 11 additions and 44 deletions
|
@ -0,0 +1,6 @@
|
|||
bugfixes:
|
||||
- >
|
||||
mysql_role - in some cases (when "SHOW GRANTS" did not use backticks for quotes), no unwanted members were detached
|
||||
from the role (and redundant "GRANT" statements were executed for wanted members). This is fixed by querying the
|
||||
existing role members from the mysql.role_edges (MySQL) or mysql.roles_mapping (MariaDB) tables instead of parsing
|
||||
the "SHOW GRANTS" output (https://github.com/ansible-collections/community.mysql/pull/368).
|
Loading…
Add table
Add a link
Reference in a new issue