diff --git a/nova/api/openstack/compute/plugins/v3/cells.py b/nova/api/openstack/compute/plugins/v3/cells.py index 16717ba46fc1..6f0cba545ebd 100644 --- a/nova/api/openstack/compute/plugins/v3/cells.py +++ b/nova/api/openstack/compute/plugins/v3/cells.py @@ -177,7 +177,6 @@ class CellsController(wsgi.Controller): """Delete a child or parent cell entry. 'id' is a cell name.""" context = req.environ['nova.context'] - authorize(context) authorize(context, action="delete") try: @@ -242,7 +241,6 @@ class CellsController(wsgi.Controller): """Create a child cell entry.""" context = req.environ['nova.context'] - authorize(context) authorize(context, action="create") cell = body['cell'] @@ -260,7 +258,6 @@ class CellsController(wsgi.Controller): """Update a child cell entry. 'id' is the cell name to update.""" context = req.environ['nova.context'] - authorize(context) authorize(context, action="update") cell = body['cell'] @@ -295,7 +292,6 @@ class CellsController(wsgi.Controller): """Tell all cells to sync instance info.""" context = req.environ['nova.context'] - authorize(context) authorize(context, action="sync_instances") project_id = body.pop('project_id', None)