diff options
| author | Kravchenko Pavel <kpavel@il.ibm.com> | 2013-05-08 18:12:35 +0300 |
|---|---|---|
| committer | Kravchenko Pavel <kpavel@il.ibm.com> | 2013-05-08 18:12:35 +0300 |
| commit | 502b672376a21b60ae932acc7d756f3ff85295f6 (patch) | |
| tree | 6aa4e6717a25b7a0f050f87a2d9c11f0e29d18dd /nova/api | |
| parent | d016c5558791fc047866d7a6746644eea8fae42a (diff) | |
Removes unnecessary check for admin context in evacuate.
Fix for bug 1177413
Change-Id: Ia293d0b55e30e57e1b4340d2bd423fac82902ced
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/compute/contrib/evacuate.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/nova/api/openstack/compute/contrib/evacuate.py b/nova/api/openstack/compute/contrib/evacuate.py index 275cec904..587e231d1 100644 --- a/nova/api/openstack/compute/contrib/evacuate.py +++ b/nova/api/openstack/compute/contrib/evacuate.py @@ -39,9 +39,6 @@ class Controller(wsgi.Controller): to a new one. """ context = req.environ["nova.context"] - if not context.is_admin: - msg = _("Instance evacuate is admin only functionality") - raise exc.HTTPForbidden(explanation=msg) authorize(context) try: |
