Merge "Remove cell policy check"

This commit is contained in:
Jenkins 2015-06-12 04:53:11 +00:00 committed by Gerrit Code Review
commit d81f6eb4d3
1 changed files with 0 additions and 4 deletions

View File

@ -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)