]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix context.elevated
authorAnn Kamyshnikova <akamyshnikova@mirantis.com>
Thu, 20 Nov 2014 16:13:52 +0000 (19:13 +0300)
committerAnn Kamyshnikova <akamyshnikova@mirantis.com>
Fri, 21 Nov 2014 10:36:58 +0000 (13:36 +0300)
commit98fae47ad1b9b72e41d444ce6f96cf5f2a3b6f0c
tree3936fde11ca2d888112a10ce3fd78badffadb767
parent66abd9f306eb8bb74609c1d2e607085893a14c3c
Fix context.elevated

The current version of elevated method sets for the original context
the admin role too. This change fix this.

Added unittest.

Closes-bug: #1386932

Change-Id: Ife881112efa151e53bfa4b7af35643dcf2d1114f
neutron/context.py
neutron/tests/unit/test_api_v2_resource.py