community.mysql/changelogs/fragments/368-mysql_role-fix-member-detection.yml
betanummeric ca6d4841ce
Update changelogs/fragments/368-mysql_role-fix-member-detection.yml
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2022-05-25 08:56:25 +02:00

6 lines
468 B
YAML

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).