Admins should be able to share image regardless of ownership
Bug #1021054 reported by
Brian Waldon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Dan Prince | ||
Essex |
Fix Released
|
Low
|
Brian Waldon | ||
glance (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The is_image_shareable funciton first checks for an owner in the context. We should short circuit that assertion with a check for admin-ness.
Related branches
lp:~openstack-ubuntu-testing/glance/precise-essex-proposed
- Ubuntu Server Developers: Pending requested
-
Diff: 31 lines (+10/-3)2 files modifieddebian/changelog (+6/-0)
debian/glance-common.postinst (+4/-3)
Changed in glance: | |
assignee: | Dan Prince (dan-prince) → Brian Waldon (bcwaldon) |
Changed in glance: | |
assignee: | Brian Waldon (bcwaldon) → Dan Prince (dan-prince) |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance (Ubuntu): | |
status: | New → Fix Released |
Changed in glance (Ubuntu Precise): | |
status: | New → Confirmed |
Changed in glance: | |
milestone: | folsom-3 → 2012.2 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/9271 github. com/openstack/ glance/ commit/ a61b4bc3776bad6 42e91bfd4ef414b 45c181afff
Committed: http://
Submitter: Jenkins
Branch: master
commit a61b4bc3776bad6 42e91bfd4ef414b 45c181afff
Author: Dan Prince <email address hidden>
Date: Tue Jul 3 10:31:13 2012 -0400
Allow admins to share images regardless of owner.
Updates the Glance DB's is_image_sharable function so that
an admin can share an image regardless of the context ownership.
This fixes issues when trying to write Glance functional tests dContextMiddlew are).
which use the noauth middleware (Unauthenticate
The motivation behind this change is I'd like to write some
functional tests for image-members that work with noauth.
Fix bug 1021054
Change-Id: I6d939876a4c4bf 5f191463f5ca434 fc524a6ac59