Skip to content

Commit

Permalink
mysql_user: add missed privileges (#618)
Browse files Browse the repository at this point in the history
* mysql_user: add missed privileges

* add changelog fragment
  • Loading branch information
Andersson007 authored Jul 6, 2020
1 parent 6b852d8 commit 433dda0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/618-mysql_user_add_missed_privileges.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- mysql_user - add missed privileges to support (https://github.com/ansible-collections/community.general/issues/617).
12 changes: 11 additions & 1 deletion plugins/modules/database/mysql/mysql_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,17 @@
'SYSTEM_USER', 'SYSTEM_VARIABLES_ADMIN', 'SYSTEM_USER',
'TABLE_ENCRYPTION_ADMIN', 'VERSION_TOKEN_ADMIN',
'XA_RECOVER_ADMIN', 'LOAD FROM S3', 'SELECT INTO S3',
'INVOKE LAMBDA'))
'INVOKE LAMBDA',
'ALTER ROUTINE',
'BINLOG ADMIN',
'BINLOG MONITOR',
'BINLOG REPLAY',
'CONNECTION ADMIN',
'READ_ONLY ADMIN',
'REPLICATION MASTER ADMIN',
'REPLICATION SLAVE',
'REPLICATION SLAVE ADMIN',
'SET USER',))


class InvalidPrivsError(Exception):
Expand Down

0 comments on commit 433dda0

Please sign in to comment.