diff options
| author | Todd Willey <todd@ansolabs.com> | 2010-09-28 16:47:29 -0400 |
|---|---|---|
| committer | Todd Willey <todd@ansolabs.com> | 2010-09-28 16:47:29 -0400 |
| commit | c80c0786baadf521c86ceff21288e3760aaea5bd (patch) | |
| tree | ed18d3c729c9f86e3fa2e5dcacfba55811f767aa /nova/api | |
| parent | c1f7914f9d8c4f7687c67de37c5eda5a95245a0d (diff) | |
| download | nova-c80c0786baadf521c86ceff21288e3760aaea5bd.tar.gz nova-c80c0786baadf521c86ceff21288e3760aaea5bd.tar.xz nova-c80c0786baadf521c86ceff21288e3760aaea5bd.zip | |
Add authorization info for cloud endpoints.
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/ec2/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/api/ec2/__init__.py b/nova/api/ec2/__init__.py index f0aa57ee4..7a958f841 100644 --- a/nova/api/ec2/__init__.py +++ b/nova/api/ec2/__init__.py @@ -158,12 +158,14 @@ class Authorizer(wsgi.Middleware): 'RunInstances': ['projectmanager', 'sysadmin'], 'TerminateInstances': ['projectmanager', 'sysadmin'], 'RebootInstances': ['projectmanager', 'sysadmin'], + 'UpdateInstance': ['projectmanager', 'sysadmin'], 'DeleteVolume': ['projectmanager', 'sysadmin'], 'DescribeImages': ['all'], 'DeregisterImage': ['projectmanager', 'sysadmin'], 'RegisterImage': ['projectmanager', 'sysadmin'], 'DescribeImageAttribute': ['all'], 'ModifyImageAttribute': ['projectmanager', 'sysadmin'], + 'UpdateImage': ['projectmanager', 'sysadmin'], }, 'AdminController': { # All actions have the same permission: ['none'] (the default) |
