Don't show the EC2 Credentials panel if there is no EC2 service
Fixes bug #1102411 Change-Id: I2454b415ac99f19349f4a19a1358fc75d8307fba
This commit is contained in:
parent
13c4a320a5
commit
20fa0fcaa5
|
@ -23,6 +23,7 @@ from horizon.dashboards.settings import dashboard
|
|||
class EC2Panel(horizon.Panel):
|
||||
name = _("EC2 Credentials")
|
||||
slug = 'ec2'
|
||||
permissions = ('openstack.services.ec2',)
|
||||
|
||||
|
||||
dashboard.Settings.register(EC2Panel)
|
||||
|
|
Loading…
Reference in New Issue