f0c1fa1987
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
|
||
---|---|---|
.. | ||
templates/volumes | ||
__init__.py | ||
forms.py | ||
panel.py | ||
tables.py | ||
tabs.py | ||
tests.py | ||
urls.py | ||
utils.py | ||
views.py |