Skip to content

Commit

Permalink
mysql_user: Add SHOW_ROUTINE privilege support (#87)
Browse files Browse the repository at this point in the history
* mysql_user: Add SHOW_ROUTINE privilege support

* add changelog fragment

Co-authored-by: Andrew Klychkov <[email protected]>
  • Loading branch information
Andersson007 and Andrew Klychkov authored Jan 13, 2021
1 parent 9eb0079 commit 2de3a57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/87-mysql_user_show_routine_support.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- mysql_user - add ``SHOW_ROUTINE`` privilege support (https://github.com/ansible-collections/community.mysql/issues/86).
3 changes: 2 additions & 1 deletion plugins/modules/mysql_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,8 @@
'REPLICATION MASTER ADMIN',
'REPLICATION SLAVE',
'REPLICATION SLAVE ADMIN',
'SET USER',))
'SET USER',
'SHOW_ROUTINE',))


class InvalidPrivsError(Exception):
Expand Down

0 comments on commit 2de3a57

Please sign in to comment.