horizon/openstack_dashboard/dashboards/project/volumes
Akihiro Motoki f0c1fa1987 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
(cherry picked from commit e5d6f54e99)
2018-08-15 19:25:17 +00:00
..
templates/volumes Show generic group info in volume and volume snapshot pages 2018-07-03 13:24:24 +03:00
__init__.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
forms.py Support volume group when creating a volume 2018-07-03 10:25:36 +00: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 19:25:17 +00:00
tabs.py Show generic group info in volume and volume snapshot pages 2018-07-03 13:24:24 +03:00
tests.py Support volume group when creating a volume 2018-07-03 10:25:36 +00:00
urls.py Add the Snapshots tab on the Volume Details page 2017-07-27 13:30:34 +00:00
utils.py [Sahara] Support Cinder availability zones 2015-02-04 08:59:23 +01:00
views.py Show generic group info in volume and volume snapshot pages 2018-07-03 13:24:24 +03:00