From bd7c6dbd3a52404f92d97be7837307c77ef71cc3 Mon Sep 17 00:00:00 2001 From: Petros Moisiadis Date: Wed, 10 Dec 2014 18:53:55 +0200 Subject: [PATCH] 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). --- database/mysql/mysql_user.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/database/mysql/mysql_user.py b/database/mysql/mysql_user.py index 0ba049fc505..e160fcb68f6 100644 --- a/database/mysql/mysql_user.py +++ b/database/mysql/mysql_user.py @@ -156,10 +156,10 @@ VALID_PRIVS = frozenset(('CREATE', 'DROP', 'GRANT', 'GRANT OPTION', 'DELETE', 'INDEX', 'INSERT', 'SELECT', 'UPDATE', 'CREATE TEMPORARY TABLES', 'TRIGGER', 'CREATE VIEW', 'SHOW VIEW', 'ALTER ROUTINE', 'CREATE ROUTINE', - 'EXECUTE', 'FILE', 'CREATE USER', 'PROCESS', - 'RELOAD', 'REPLICATION CLIENT', 'REPLICATION SLAVE', - 'SHOW DATABASES', 'SHUTDOWN', 'SUPER', 'ALL', - 'ALL PRIVILEGES', 'USAGE',)) + 'EXECUTE', 'FILE', 'CREATE TABLESPACE', 'CREATE USER', + 'PROCESS', 'PROXY', 'RELOAD', 'REPLICATION CLIENT', + 'REPLICATION SLAVE', 'SHOW DATABASES', 'SHUTDOWN', + 'SUPER', 'ALL', 'ALL PRIVILEGES', 'USAGE',)) class InvalidPrivsError(Exception): pass