From f530c85964f6e8ed866cb19c882e3f32e0ff8167 Mon Sep 17 00:00:00 2001 From: Craig Williams Date: Fri, 11 Feb 2022 09:36:45 +0000 Subject: [PATCH] Even more permission lockdowns --- templates/tables/organisations.html.twig | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/templates/tables/organisations.html.twig b/templates/tables/organisations.html.twig index a184852..70413f0 100644 --- a/templates/tables/organisations.html.twig +++ b/templates/tables/organisations.html.twig @@ -18,7 +18,9 @@ {{translate("ORGANISATION.MEMBER_COUNT")}} {{translate("ORGANISATION.ADMIN_COUNT")}} {% endif %} + {% if hasRole('site-admin') or hasRole('organisations-admin') %} {{translate("ACTIONS")}} + {% endif %} @@ -96,11 +98,21 @@