diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a644a2386017838e3f8ce009c4091818d3543e7d..73289ef19a9e845ea068228ab782147775e10f5a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -15,6 +15,7 @@ Changed * Add verbose names for all preference sections. * Add verbose names for all openid connect scopes and show them in grant view. +* Include public dashboard in navigation Fixed ~~~~~ diff --git a/aleksis/core/menus.py b/aleksis/core/menus.py index 04cfb5689ef101b41f169b970f760aea95ae9338..b368a6c702e4b2514afc903fb5ff48417ef22bfa 100644 --- a/aleksis/core/menus.py +++ b/aleksis/core/menus.py @@ -24,7 +24,9 @@ MENUS = { "name": _("Dashboard"), "url": "index", "icon": "home", - "validators": ["menu_generator.validators.is_authenticated"], + "validators": [ + ("aleksis.core.util.predicates.permission_validator", "core.view_dashboard_rule") + ], }, { "name": _("Notifications"),