Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 which use the noauth middleware (UnauthenticatedContextMiddleware). 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: I6d939876a4c4bf5f191463f5ca434fc524a6ac59
- Loading branch information
Showing
3 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters