summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openstack_dashboard/dashboards/project/backups/panel.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/openstack_dashboard/dashboards/project/backups/panel.py b/openstack_dashboard/dashboards/project/backups/panel.py
index efd7939d9..063a6d853 100644
--- a/openstack_dashboard/dashboards/project/backups/panel.py
+++ b/openstack_dashboard/dashboards/project/backups/panel.py
@@ -14,6 +14,8 @@
from django.utils.translation import ugettext_lazy as _
+from openstack_dashboard import api
+
import horizon
@@ -25,3 +27,7 @@ class Backups(horizon.Panel):
'openstack.services.volumev3'),
)
policy_rules = (("volume", "backup:get_all"),)
+
+ @staticmethod
+ def can_register():
+ return api.cinder.volume_backup_supported(None)