shade/releasenotes/notes/add-show-all-images-flag-352748b6c3d99f3f.yaml
Monty Taylor 54d6e1d184
Add flag to include all images in image list
Recent Glance v2 hides images that are shared but not accepted. The
way to see them is to send member_status=all, which is a bit low-level
for a shade user to need to know.

Add a show_all to list_images that defaults to False so that behavior
doesn't change. Don't add it to search_images, because at the
search_images level the user has the ability to pass in whatever filters
they want.

Change-Id: Ida2ea943168f5be56a60a94576bdcc6c8e1a9d24
2017-07-07 12:10:06 -05:00

10 lines
410 B
YAML

---
features:
- Added flag "show_all" to list_images. The behavior of
Glance v2 to only show shared images if they have been
accepted by the user can be confusing, and the only way
to change it is to use search_images(filters=dict(member_status='all'))
which isn't terribly obvious. "show_all=True" will set
that flag, as well as disabling the filtering of images
in "deleted" state.