mysql_user: Added missing privileges
Added missing privileges 'CREATE TABLESPACE' and 'PROXY' (see: http://dev.mysql.com/doc/refman/5.5/en/privileges-provided.html).
This commit is contained in:
parent
fbba80d72e
commit
63b18ae618
1 changed files with 4 additions and 4 deletions
|
@ -156,10 +156,10 @@ VALID_PRIVS = frozenset(('CREATE', 'DROP', 'GRANT', 'GRANT OPTION',
|
||||||
'DELETE', 'INDEX', 'INSERT', 'SELECT', 'UPDATE',
|
'DELETE', 'INDEX', 'INSERT', 'SELECT', 'UPDATE',
|
||||||
'CREATE TEMPORARY TABLES', 'TRIGGER', 'CREATE VIEW',
|
'CREATE TEMPORARY TABLES', 'TRIGGER', 'CREATE VIEW',
|
||||||
'SHOW VIEW', 'ALTER ROUTINE', 'CREATE ROUTINE',
|
'SHOW VIEW', 'ALTER ROUTINE', 'CREATE ROUTINE',
|
||||||
'EXECUTE', 'FILE', 'CREATE USER', 'PROCESS',
|
'EXECUTE', 'FILE', 'CREATE TABLESPACE', 'CREATE USER',
|
||||||
'RELOAD', 'REPLICATION CLIENT', 'REPLICATION SLAVE',
|
'PROCESS', 'PROXY', 'RELOAD', 'REPLICATION CLIENT',
|
||||||
'SHOW DATABASES', 'SHUTDOWN', 'SUPER', 'ALL',
|
'REPLICATION SLAVE', 'SHOW DATABASES', 'SHUTDOWN',
|
||||||
'ALL PRIVILEGES', 'USAGE',))
|
'SUPER', 'ALL', 'ALL PRIVILEGES', 'USAGE',))
|
||||||
|
|
||||||
class InvalidPrivsError(Exception):
|
class InvalidPrivsError(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue