Delete unnecessary permissions on panel

Admin dashboard is already set 'openstack.roles.admin',
so same permission on panel in Admin dashboard is unncessary.

Change-Id: Ib7001042456b4c6ab32273a7b80951d551e32c9a
Closes-bug: #1532156
This commit is contained in:
kenji-ishii 2016-01-06 13:57:19 +09:00
parent 3a4093ffd2
commit c2dc30cefe
4 changed files with 2 additions and 4 deletions

View File

@ -20,4 +20,4 @@ import horizon
class Hypervisors(horizon.Panel):
name = _("Hypervisors")
slug = 'hypervisors'
permissions = ('openstack.roles.admin', 'openstack.services.compute')
permissions = ('openstack.services.compute',)

View File

@ -24,4 +24,4 @@ import horizon
class Instances(horizon.Panel):
name = _("Instances")
slug = 'instances'
permissions = ('openstack.roles.admin', 'openstack.services.compute')
permissions = ('openstack.services.compute',)

View File

@ -23,7 +23,6 @@ from openstack_dashboard.api import glance
class MetadataDefinitions(horizon.Panel):
name = _("Metadata Definitions")
slug = 'metadata_defs'
permissions = ('openstack.roles.admin',)
@staticmethod
def can_register():

View File

@ -26,7 +26,6 @@ from openstack_dashboard.dashboards.admin import dashboard
class Overview(horizon.Panel):
name = _("Overview")
slug = 'overview'
permissions = ('openstack.roles.admin',)
dashboard.Admin.register(Overview)