Merge "Remove cell policy check"
This commit is contained in:
commit
d81f6eb4d3
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue