Merge "Revert "Add policy rules to project panels""

This commit is contained in:
Jenkins 2017-01-03 20:16:21 +00:00 committed by Gerrit Code Review
commit 4f13234118
6 changed files with 0 additions and 6 deletions

View File

@ -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']

View File

@ -21,4 +21,3 @@ class Instances(horizon.Panel):
name = _("Instances")
slug = 'instances'
permissions = ('openstack.services.compute',)
policy_rules = (("compute", "compute:get"),)

View File

@ -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"),)

View File

@ -21,4 +21,3 @@ class Networks(horizon.Panel):
name = _("Networks")
slug = 'networks'
permissions = ('openstack.services.network',)
policy_rules = (("network", "get_network"),)

View File

@ -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():

View File

@ -19,4 +19,3 @@ class Stacks(horizon.Panel):
name = _("Stacks")
slug = "stacks"
permissions = ('openstack.services.orchestration',)
policy_rules = (("orchestration", "stacks:index"),)