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:
parent
90e1c58a00
commit
916bf5acc7
1 changed files with 10 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue