summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorLi Chen <chen.li@intel.com>2013-02-01 17:32:26 +0800
committerGerrit Code Review <review@openstack.org>2013-02-06 00:46:38 +0000
commit7ba533f069aa95c73524f7f0a398a216dfbcdbb3 (patch)
tree32355c0558879a709e509b09a5f36c6657c7eb5a /nova/exception.py
parentaf235b22eccb81d815c79fd1f531734a140cfafb (diff)
downloadnova-7ba533f069aa95c73524f7f0a398a216dfbcdbb3.tar.gz
nova-7ba533f069aa95c73524f7f0a398a216dfbcdbb3.tar.xz
nova-7ba533f069aa95c73524f7f0a398a216dfbcdbb3.zip
Flavor Extra Specs should require admin privileges
The previous fix added admin check in policy.json, but code still can't recorginize the detailed actions. This fix edited "authorize" function for flavor_extra_specs, to make sure it will check the admin privileges in policy.json. Also, together with the code, this fix edit old test case with admin privileges, and added new non-admin privileges test case. Fixes bug 1094142 Change-Id: Ia286aedb4846383ad51bd54b0984dd1feddfbf81
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions