diff --git a/openstack_dashboard/dashboards/project/firewalls/panel.py b/openstack_dashboard/dashboards/project/firewalls/panel.py index 7cf6b99c0f..1e916a6c60 100644 --- a/openstack_dashboard/dashboards/project/firewalls/panel.py +++ b/openstack_dashboard/dashboards/project/firewalls/panel.py @@ -25,7 +25,6 @@ class Firewall(horizon.Panel): name = _("Firewalls") slug = "firewalls" permissions = ('openstack.services.network',) - policy_rules = (("network", "get_firewall"),) def allowed(self, context): request = context['request'] diff --git a/openstack_dashboard/dashboards/project/instances/panel.py b/openstack_dashboard/dashboards/project/instances/panel.py index a5fe8224a2..085b9e99dc 100644 --- a/openstack_dashboard/dashboards/project/instances/panel.py +++ b/openstack_dashboard/dashboards/project/instances/panel.py @@ -21,4 +21,3 @@ class Instances(horizon.Panel): name = _("Instances") slug = 'instances' permissions = ('openstack.services.compute',) - policy_rules = (("compute", "compute:get"),) diff --git a/openstack_dashboard/dashboards/project/network_topology/panel.py b/openstack_dashboard/dashboards/project/network_topology/panel.py index 9ba78ec52f..593530dd4c 100644 --- a/openstack_dashboard/dashboards/project/network_topology/panel.py +++ b/openstack_dashboard/dashboards/project/network_topology/panel.py @@ -25,4 +25,3 @@ class NetworkTopology(horizon.Panel): name = _("Network Topology") slug = 'network_topology' permissions = ('openstack.services.network', ) - policy_rules = (("network", "get_auto_allocated_topology"),) diff --git a/openstack_dashboard/dashboards/project/networks/panel.py b/openstack_dashboard/dashboards/project/networks/panel.py index 18b649bf0e..43976ec1d3 100644 --- a/openstack_dashboard/dashboards/project/networks/panel.py +++ b/openstack_dashboard/dashboards/project/networks/panel.py @@ -21,4 +21,3 @@ class Networks(horizon.Panel): name = _("Networks") slug = 'networks' permissions = ('openstack.services.network',) - policy_rules = (("network", "get_network"),) diff --git a/openstack_dashboard/dashboards/project/routers/panel.py b/openstack_dashboard/dashboards/project/routers/panel.py index 9995f2a336..fa7b159c42 100644 --- a/openstack_dashboard/dashboards/project/routers/panel.py +++ b/openstack_dashboard/dashboards/project/routers/panel.py @@ -22,7 +22,6 @@ class Routers(horizon.Panel): name = _("Routers") slug = 'routers' permissions = ('openstack.services.network',) - policy_rules = (("network", "get_router"),) @staticmethod def can_register(): diff --git a/openstack_dashboard/dashboards/project/stacks/panel.py b/openstack_dashboard/dashboards/project/stacks/panel.py index 90b7706ce9..f9e8800381 100644 --- a/openstack_dashboard/dashboards/project/stacks/panel.py +++ b/openstack_dashboard/dashboards/project/stacks/panel.py @@ -19,4 +19,3 @@ class Stacks(horizon.Panel): name = _("Stacks") slug = "stacks" permissions = ('openstack.services.orchestration',) - policy_rules = (("orchestration", "stacks:index"),)