horizon/openstack_dashboard/dashboards/project/snapshots
Akihiro Motoki e5d6f54e99 Make generic group check work with admin table
Previously allowed() methods in DeleteVolume and DeleteVolumeSnapshot
actions assume that the cinder generic group is always available.
The current admin volume and volume snapshot tables do not load
generic group information, so these allowed() methods failed and
as a result these delete actions are not shown.
This commit checks if a volume belongs to a generic group in more
robust way. This change makes the project volume table work with
deployments without the generic group as well.

Change-Id: Idd887434153966d9188acaf08346fa6a0f0e6719
Closes-Bug: #1787065
2018-08-15 01:52:10 +00:00
..
templates/snapshots Show generic group info in volume and volume snapshot pages 2018-07-03 13:24:24 +03:00
__init__.py Move Volume snapshots out of tabbed panel 2017-02-28 14:05:26 +11:00
forms.py django2: Replace django.core.urlresolves with django.urls 2018-02-17 01:36:48 +09:00
panel.py Use Cinder API v3 by default 2017-12-18 15:34:41 +02:00
tables.py Make generic group check work with admin table 2018-08-15 01:52:10 +00:00
tabs.py Show generic group info in volume and volume snapshot pages 2018-07-03 13:24:24 +03:00
tests.py Show generic group info in volume and volume snapshot pages 2018-07-03 13:24:24 +03:00
urls.py Move Volume snapshots out of tabbed panel 2017-02-28 14:05:26 +11:00
views.py Show generic group info in volume and volume snapshot pages 2018-07-03 13:24:24 +03:00