Skip to content
Snippets Groups Projects
Commit 2dfcc3ce authored by Jan Mach's avatar Jan Mach
Browse files

Merge branch 'hruska-feature-#6926-replace-hosts' into devel

(Redmine issue: #6926)
parents 0e0abf1b 0ec012c2
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ class AbstractSearchView(PsycopgMixin, BaseSearchView): # pylint: disable=local
"""
authentication = True
authorization = [vial.acl.PERMISSION_POWER]
authorization = [vial.acl.PERMISSION_DEVELOPER]
@classmethod
def get_menu_title(cls, **kwargs):
......@@ -167,10 +167,9 @@ class HostsBlueprint(VialBlueprint):
def register_app(self, app):
app.menu_main.add_entry(
'view',
BLUEPRINT_NAME,
position = 150,
view = SearchView,
resptitle = True
'developer.{}'.format(BLUEPRINT_NAME),
position = 80,
view = SearchView
)
# Register context actions provided by this module.
......
......@@ -466,8 +466,8 @@ class TimelineBlueprint(VialBlueprint):
def register_app(self, app):
app.menu_main.add_entry(
'view',
'dashboards.{}'.format(BLUEPRINT_NAME),
position = 30,
BLUEPRINT_NAME,
position = 150,
view = SearchView,
resptitle = True
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment