aboutsummaryrefslogtreecommitdiffhomepage
path: root/apioforum/templates
diff options
context:
space:
mode:
authorcitrons <citrons>2021-08-06 22:54:59 +0000
committercitrons <citrons>2021-08-06 22:54:59 +0000
commita4d99164de42603b83b2a7ac6e594e5925108a32 (patch)
tree066f4be808a7062a8d459fe76b7b9589f7025490 /apioforum/templates
parentbd7a53ba3daf8853707d6df511cc1e31d2a850a3 (diff)
logged out users are considered to have no permissions unless in a specific instance login is not required in which case they are treated as having the role "other".
Diffstat (limited to 'apioforum/templates')
-rw-r--r--apioforum/templates/view_forum.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/apioforum/templates/view_forum.html b/apioforum/templates/view_forum.html
index ff1af9b..a4ffac6 100644
--- a/apioforum/templates/view_forum.html
+++ b/apioforum/templates/view_forum.html
@@ -76,7 +76,7 @@
please log in to create a new thread
{% endif %}
-{% if has_permission(forum.id, g.user, "p_view_threads") %}
+{% if has_permission(forum.id, g.user, "p_view_threads", login_required=False) %}
<div class="thread-list">
{%for thread in threads%}
<div class="listing">