nova/nova
unicell c6be78deb6 Remove hard-coded 'admin' role checking and use policy instead
bug 1037786

This change removed hard-coded 'admin' role checking, and use policy check to
decide is_admin at the time of context construction. And also set
default admin role to 'admin', in policy template, to keep backward
compatibility.

Change-Id: I56b45bfdfba1b8e1391bde7fec3d4cf26c66324c
2012-08-19 00:31:23 +08:00
..
CA Clean up crypto.py 2012-01-18 21:56:14 -08:00
api Revert per-user-quotas 2012-08-16 22:51:02 -07:00
auth Remove deprecated auth code 2012-07-09 23:30:21 -07:00
cert Change base rpc version to 1.0 in compute rpcapi. 2012-07-12 16:10:37 -04:00
cloudpipe Fix cloudpipe keypair creation. Add pipelib tests 2012-07-19 16:46:43 +02:00
common Only log deprecated config warnings once. 2012-08-05 08:41:22 -04:00
compat Merge "fix restructuredtext formatting in docstrings that show up in the developer guide" 2012-03-07 01:34:42 +00:00
compute Merge "Fix get_vnc_console race." 2012-08-17 20:14:21 +00:00
console Fix use of non-existant var pool. 2012-08-16 12:03:01 -04:00
consoleauth Change base rpc version to 1.0 in compute rpcapi. 2012-07-12 16:10:37 -04:00
db Merge "Remove unused imports" 2012-08-17 16:34:23 +00:00
image Rewrite image code to use python-glanceclient 2012-08-13 13:28:48 -07:00
ipv6 Defined IMPL in global ipv6 namespace. 2012-08-15 09:30:34 -07:00
locale Imported Translations from Launchpad 2012-05-20 23:04:49 +00:00
network Remove unused imports 2012-08-17 13:35:05 +08:00
objectstore Add s3_listen and s3_listen_port options. 2012-05-16 09:26:49 -04:00
openstack Sync changes from openstack common 2012-08-16 18:09:46 -07:00
rootwrap Move rootwrap filters definition to config files 2012-06-22 15:35:23 +02:00
scheduler Merge "Remove unused imports" 2012-08-17 16:34:23 +00:00
testing Remove unused testing.fake 2012-07-18 14:04:37 -07:00
tests Remove hard-coded 'admin' role checking and use policy instead 2012-08-19 00:31:23 +08:00
virt Remove unused imports 2012-08-17 13:35:05 +08:00
vnc Switch to common logging. 2012-07-02 15:57:09 -05:00
volume Remove unused imports 2012-08-17 13:35:05 +08:00
__init__.py Allow file logging config 2012-02-17 11:24:32 -06:00
block_device.py Allow nova to guess device if not passed to attach 2012-08-15 14:22:05 -07:00
context.py Remove hard-coded 'admin' role checking and use policy instead 2012-08-19 00:31:23 +08:00
crypto.py Remove unused imports 2012-08-17 13:35:05 +08:00
exception.py Revert per-user-quotas 2012-08-16 22:51:02 -07:00
flags.py Merge "Compute restart causes period of network 'blackout'" 2012-08-12 02:15:53 +00:00
manager.py Add the plugin framework from common; use and test. 2012-07-15 16:25:26 -05:00
notifications.py Fix notification logic 2012-08-04 14:12:49 +01:00
policy.py Remove hard-coded 'admin' role checking and use policy instead 2012-08-19 00:31:23 +08:00
quota.py Revert per-user-quotas 2012-08-16 22:51:02 -07:00
service.py Improve external lock implementation 2012-08-04 12:52:50 +01:00
test.py Remove unused imports 2012-08-02 14:07:06 -07:00
utils.py Makes sure tests don't leave lockfiles around 2012-08-17 17:26:42 +00:00
version.py Open Folsom 2012-03-20 08:17:40 +01:00
wsgi.py Switch to common logging. 2012-07-02 15:57:09 -05:00