← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1452443] Re: Schema definition for visibility attribute missing "shared" value

 

Got some heads up from Brian.

"'shared' is a valid value for the visibility *filter*, but it is not a
value that's used to populate the 'visibility' field of any image.
Images are either visibility == public or visibility == private, and a
shared image is someone's private image that they have shared with you.
But unless things have changed recently, the visibility on such an image
is still private. This would be fixed by the community images spec,
which would introduce 'shared' and 'community' as new values for
'visibility'."

** Changed in: glance
       Status: In Progress => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1452443

Title:
  Schema definition for visibility attribute missing "shared" value

Status in OpenStack Image Registry and Delivery Service (Glance):
  Invalid

Bug description:
  Glance's v2 Images resource has a "visibility" attribute that can be
  "private", "public", and "shared":

  http://git.openstack.org/cgit/openstack/glance/tree/glance/api/v2/images.py?id=93b0d5fce3a41e4a3a549f98f78b6681cbc3ea95#n579

  However, the schema definition for the visibility attribute only lists
  "private" and "public" as possible values for the attribute:

  http://git.openstack.org/cgit/openstack/glance/tree/glance/api/v2/images.py?id=93b0d5fce3a41e4a3a549f98f78b6681cbc3ea95#n805

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1452443/+subscriptions


References