From b966f58b245d64e0348186e95bb4d8552b940aed Mon Sep 17 00:00:00 2001
From: George Katsikas <giorgakis.katsikas@gmail.com>
Date: Wed, 11 Dec 2024 18:27:39 +0100
Subject: [PATCH] fix tasklist being visible for everyone

---
 scipost_django/scipost/templates/scipost/navbar.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scipost_django/scipost/templates/scipost/navbar.html b/scipost_django/scipost/templates/scipost/navbar.html
index a1d0bdf40..3a24677d3 100644
--- a/scipost_django/scipost/templates/scipost/navbar.html
+++ b/scipost_django/scipost/templates/scipost/navbar.html
@@ -33,7 +33,7 @@
 
  
 
-        {% if is_active_fellow or "perms.scipost.can_preview_new_features" %}
+        {% if is_active_fellow or perms.scipost.can_preview_new_features %}
           <li class="nav-item" role="presentation">
 
             {% if request.path == '/tasks/list' %}
-- 
GitLab