Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
mysql_user: fix idempotence check for ALL GRANT In MySQL 8.0 #52469
In MySQL 8.0 SHOW GRANTS no longer displays ALL PRIVILEGES in its global-privileges output. Instead, SHOW GRANTS explicitly lists each granted global privilege. The issue is that the mysql_user module is using a simple comparison between new and current privileges and if we define ".:ALL,GRANT" it will return changed, because "ALL" != list_of_privileges, so idempotence check will be failed.
changed the title
[WIP] mysql_user: fix idempotence check for ALL GRANT In MySQL 8.0
Feb 18, 2019