Remove object-store permission for Clusters panel

Object-store is not needed for managing Trove clusters.

This change removes object-store permission causing that Cluster panel
will be registered even if object-store is unavailable.

Change-Id: I72a9cac16625ff6745b97d65b467e5227bd24045
Signed-off-by: Marcin Piwowarczyk <m.piwowarczy@samsung.com>
This commit is contained in:
Marcin Piwowarczyk 2018-10-08 14:35:40 +02:00
parent bda4bd1850
commit b2a85223e7

View File

@ -23,8 +23,7 @@ from openstack_dashboard.dashboards.project import dashboard
class Clusters(horizon.Panel): class Clusters(horizon.Panel):
name = _("Clusters") name = _("Clusters")
slug = 'database_clusters' slug = 'database_clusters'
permissions = ('openstack.services.database', permissions = ('openstack.services.database',)
'openstack.services.object-store',)
dashboard.Project.register(Clusters) dashboard.Project.register(Clusters)