Merge "Raises BadRequest for grant_access on ignore_dbs"
This commit is contained in:
commit
e6d3fd744f
@ -384,7 +384,7 @@ class MySqlAdmin(object):
|
||||
try:
|
||||
mydb.name = database
|
||||
except ValueError:
|
||||
LOG.info(_(
|
||||
raise exception.BadRequest(_(
|
||||
"Grant access to %s is not allowed") % database)
|
||||
|
||||
g = sql_query.Grant(permissions='ALL', database=mydb.name,
|
||||
|
Loading…
x
Reference in New Issue
Block a user