Browse Source

Fixed threads ACL builder for guests

Rafał Pitoń 10 years ago
parent
commit
c480539cea
1 changed files with 3 additions and 2 deletions
  1. 3 2
      misago/threads/permissions.py

+ 3 - 2
misago/threads/permissions.py

@@ -221,10 +221,11 @@ def add_acl_to_forum(user, forum):
         'can_see_reports': 0,
     })
 
+    algebra.sum_acls(forum.acl, acls=[forum_acl],
+        can_see_all_threads=algebra.greater)
+
     if user.is_authenticated():
         algebra.sum_acls(forum.acl, acls=[forum_acl],
-            can_see_all_threads=algebra.greater,
-            can_start_threads=algebra.greater,
             can_reply_threads=algebra.greater,
             can_edit_threads=algebra.greater,
             can_edit_replies=algebra.greater,