From 7fb2f3170c067e7869bfb19f29da5f4d41762f34 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Wed, 15 Jul 2020 19:54:33 +0100 Subject: Allow Editors to edit tags --- app/templates/base.html | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'app/templates/base.html') diff --git a/app/templates/base.html b/app/templates/base.html index 67d8351..c9be4a2 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -92,15 +92,22 @@ + {% if current_user.rank.atLeast(current_user.rank.MODERATOR) %} {% endif %} + {% if current_user.rank == current_user.rank.ADMIN %} - {% endif %} - {% if current_user.rank == current_user.rank.MODERATOR %} - - + {% else %} + {% if check_global_perm(current_user, "EDIT_TAGS") %} + + {% elif check_global_perm(current_user, "CREATE_TAG") %} + + {% endif %} + {% if current_user.rank == current_user.rank.MODERATOR %} + + {% endif %} {% endif %} -- cgit v1.2.3