From ca6d4841cee4add235d773075aa22f9ad5fb12ff Mon Sep 17 00:00:00 2001 From: betanummeric <40263343+betanummeric@users.noreply.github.com> Date: Wed, 25 May 2022 08:56:25 +0200 Subject: [PATCH] Update changelogs/fragments/368-mysql_role-fix-member-detection.yml Co-authored-by: Andrew Klychkov --- changelogs/fragments/368-mysql_role-fix-member-detection.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/changelogs/fragments/368-mysql_role-fix-member-detection.yml b/changelogs/fragments/368-mysql_role-fix-member-detection.yml index 023a0d8..b7cbd3e 100644 --- a/changelogs/fragments/368-mysql_role-fix-member-detection.yml +++ b/changelogs/fragments/368-mysql_role-fix-member-detection.yml @@ -1,6 +1,6 @@ bugfixes: - > - mysql_role: In some cases (when "SHOW GRANTS" did not use backticks for quotes), no unwanted members were detached + 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. See https://github.com/ansible-collections/community.mysql/pull/368. + the "SHOW GRANTS" output (https://github.com/ansible-collections/community.mysql/pull/368).