diff options
author | citrons <citrons> | 2021-08-06 22:54:59 +0000 |
---|---|---|
committer | citrons <citrons> | 2021-08-06 22:54:59 +0000 |
commit | a4d99164de42603b83b2a7ac6e594e5925108a32 (patch) | |
tree | 066f4be808a7062a8d459fe76b7b9589f7025490 /apioforum/templates | |
parent | bd7a53ba3daf8853707d6df511cc1e31d2a850a3 (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.html | 2 |
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"> |