From 1347d4d22c5b7aeec4bb3a377637dc0e19876838 Mon Sep 17 00:00:00 2001 From: Laurent Baeriswyl Date: Wed, 19 Oct 2016 18:04:03 -0700 Subject: [PATCH] Add appropriate policy rules to admin images panel Currently many panels are missing appropriate policy rules. This patch adds policy rules to the admin images panel. Change-Id: I8b25b420417387ef1d0ede1169243e30da343067 Partial-bug:#1534495 (cherry picked from commit a4af4e086681c51718c29ae401b10d45eac10321) --- openstack_dashboard/dashboards/admin/images/panel.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openstack_dashboard/dashboards/admin/images/panel.py b/openstack_dashboard/dashboards/admin/images/panel.py index 1171211f9f..981adc06c9 100644 --- a/openstack_dashboard/dashboards/admin/images/panel.py +++ b/openstack_dashboard/dashboards/admin/images/panel.py @@ -25,3 +25,4 @@ class Images(horizon.Panel): name = _("Images") slug = 'images' permissions = ('openstack.services.image',) + policy_rules = (("image", "get_images"),)