From 891762961383a424a51e8a328c674899aeb92d87 Mon Sep 17 00:00:00 2001 From: Philipp Hofer Date: Tue, 11 Feb 2025 19:30:09 +0100 Subject: [PATCH] use proper permissions --- templates/admin/user/index.html.tera | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/admin/user/index.html.tera b/templates/admin/user/index.html.tera index c50e64f..9d58196 100644 --- a/templates/admin/user/index.html.tera +++ b/templates/admin/user/index.html.tera @@ -47,7 +47,7 @@ {{ user.name }} - {% if not user.last_access and "admin" in loggedin_user.roles and user.mail %} + {% if not user.last_access and allowed_to_edit and user.mail %}