admin info: check required service for network tab

Previously the network tab of Admin Info panel did not check
the availability of the network service.

Change-Id: I3117b00762a0257f67a34af89ac65f82d4e563ee
Closes-Bug: #1791296
This commit is contained in:
Akihiro Motoki 2018-09-08 19:00:20 +00:00
parent 78090176ea
commit e750c9d060
1 changed files with 1 additions and 0 deletions

View File

@ -98,6 +98,7 @@ class NetworkAgentsTab(tabs.TableTab):
name = tables.NetworkAgentsTable.Meta.verbose_name
slug = tables.NetworkAgentsTable.Meta.name
template_name = constants.INFO_DETAIL_TEMPLATE_NAME
permissions = ('openstack.services.network',)
def allowed(self, request):
try: