Merge lp://qastaging/~cerberus/nova/instance_admin_for_user into lp://qastaging/~hudson-openstack/nova/trunk
Status: | Work in progress |
---|---|
Proposed branch: | lp://qastaging/~cerberus/nova/instance_admin_for_user |
Merge into: | lp://qastaging/~hudson-openstack/nova/trunk |
Diff against target: |
97 lines (+32/-1) 4 files modified
nova/api/openstack/__init__.py (+3/-1) nova/api/openstack/accounts.py (+9/-0) nova/api/openstack/wsgi.py (+1/-0) nova/tests/api/openstack/test_accounts.py (+19/-0) |
To merge this branch: | bzr merge lp://qastaging/~cerberus/nova/instance_admin_for_user |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dan Prince (community) | Needs Information | ||
Trey Morris (community) | Approve | ||
Brian Lamar (community) | Needs Information | ||
Review via email:
|
Commit message
Implements a projects admin controller in the Openstack API. Includes all basic RESTful functionality plus the ability for an admin to create an instance inside of any project.
Description of the change
Implements a projects admin controller in the Openstack API. Includes all basic RESTful functionality plus the ability for an admin to create an instance inside of any project.
Unmerged revisions
- 1178. By Matt Dietz
-
Merge from trunk
- 1177. By Matt Dietz
-
Merge prop fixes
- 1176. By Matt Dietz
-
Merge from trunk
- 1175. By Matt Dietz
-
Refactored to the accounts controller and removed unnecessary projects controller
- 1174. By Matt Dietz
-
Removed superfluous servers include in the users controller
- 1173. By Matt Dietz
-
Added tests for the projects controller
- 1172. By Matt Dietz
-
Change of direction. Added a projects controller
- 1171. By Matt Dietz
-
Merge from remote branch
- 1170. By Matt Dietz
-
Merge from other branch
- 1169. By Matt Dietz
-
Testing the new route
This seems really straight forward, the only questions I have are not really about the code:
1) We have a file "accounts.py" in the same directory which seems to cover a lot of the same thing with a different name. Should we get rid of the concept of 'accounts' for now? I know that there has been a naming battle between projects/accounts.
2) Does creating a project require you to be an admin of the project? Seems like a chicken/egg scenario, but it's been a while since I've looked at the auth code...maybe admin users aren't linked to a project but are just general administrators for the entire system? If you could impart some knowledge on me that would be helpful. :)
Crazy minor nitpicks:
-Line 90: Remove blank line
-Line 162: Do you need that import?
-Line 339: Do you need that import?