diff --git a/themes/grav/templates/partials/dashboard-pages.html.twig b/themes/grav/templates/partials/dashboard-pages.html.twig index 7f3b4927..501e2119 100644 --- a/themes/grav/templates/partials/dashboard-pages.html.twig +++ b/themes/grav/templates/partials/dashboard-pages.html.twig @@ -1,4 +1,4 @@ -{% if authorize(['admin.pages', 'admin.super']) %} +{% if authorize(['admin.pages.list', 'admin.pages', 'admin.super']) %}
{{ "PLUGIN_ADMIN.MANAGE_PAGES"|t }} @@ -15,6 +15,4 @@ {% endfor %}
-{% else %} -
You don't have sufficient access to view the dashboard...
{% endif %}