lp:~klmitch/glance/private-images
Created by
Kevin L. Mitchell
and last modified
- Get this branch:
- bzr branch lp:~klmitch/glance/private-images
Only
Kevin L. Mitchell
can upload to this branch. If you are
Kevin L. Mitchell
please log in for upload directions.
Branch merges
Propose for merging
No branches
dependent on this one.
- Jay Pipes (community): Approve
- Devin Carlen (community): Approve
- Rick Harris (community): Approve
-
Diff: 1052 lines (+510/-54)17 files modifiedAuthors (+1/-0)
etc/glance-api.conf (+4/-1)
etc/glance-registry.conf (+7/-1)
glance/api/v1/images.py (+53/-9)
glance/client.py (+4/-2)
glance/common/client.py (+5/-1)
glance/common/context.py (+96/-0)
glance/registry/__init__.py (+17/-16)
glance/registry/client.py (+3/-2)
glance/registry/db/api.py (+16/-2)
glance/registry/db/migrate_repo/versions/007_add_owner.py (+82/-0)
glance/registry/db/models.py (+1/-0)
glance/registry/server.py (+52/-13)
tests/functional/__init__.py (+11/-2)
tests/stubs.py (+5/-2)
tests/unit/test_api.py (+5/-3)
tests/unit/test_context.py (+148/-0)
Branch information
Recent revisions
- 166. By Kevin L. Mitchell
-
Take out extraneous comments; tune up doc string; rename image_visible() to is_image_visible(); log authorization failures
- 165. By Kevin L. Mitchell
-
Allow plugging in alternate context classes so the owner property and the image_visible() method can be overridden.
- 164. By Kevin L. Mitchell
-
Make a context property 'owner' that returns the tenant; this makes it possible to change the concept of ownership by using a different context object.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~hudson-openstack/glance/trunk