Plugin mysql_user: add MySQL v8 privileges to valid privs (#51478)

* Plugin mysql_user: add MySQL v8 privileges to valid privs

* Unintentional underscores removed
This commit is contained in:
UncertaintyP 2019-02-19 15:26:58 +01:00 committed by John R Barker
parent 90e1c58a00
commit 916bf5acc7

View file

@ -219,7 +219,16 @@ VALID_PRIVS = frozenset(('CREATE', 'DROP', 'GRANT', 'GRANT OPTION',
'EXECUTE', 'FILE', 'CREATE TABLESPACE', 'CREATE USER',
'PROCESS', 'PROXY', 'RELOAD', 'REPLICATION CLIENT',
'REPLICATION SLAVE', 'SHOW DATABASES', 'SHUTDOWN',
'SUPER', 'ALL', 'ALL PRIVILEGES', 'USAGE', 'REQUIRESSL'))
'SUPER', 'ALL', 'ALL PRIVILEGES', 'USAGE', 'REQUIRESSL',
'CREATE ROLE', 'DROP ROLE', 'APPLICATION PASSWORD ADMIN',
'AUDIT ADMIN', 'BACKUP ADMIN', 'BINLOG ADMIN',
'BINLOG ENCRYPTION ADMIN', 'CONNECTION ADMIN',
'ENCRYPTION KEY ADMIN', 'FIREWALL ADMIN', 'FIREWALL USER',
'GROUP REPLICATION ADMIN', 'PERSIST RO VARIABLES ADMIN',
'REPLICATION SLAVE ADMIN', 'RESOURCE GROUP ADMIN',
'RESOURCE GROUP USER', 'ROLE ADMIN', 'SET USER ID',
'SESSION VARIABLES ADMIN', 'SYSTEM VARIABLES ADMIN',
'VERSION TOKEN ADMIN', 'XA RECOVER ADMIN'))
class InvalidPrivsError(Exception):