Fix comment labeling permission check

This commit is contained in:
Deimos
2020-03-02 15:40:55 -07:00
parent 13d7e97e4c
commit 3f6bd60281

View File

@@ -209,7 +209,7 @@ class Comment(DatabaseModel):
acl.append((Deny, Everyone, "label"))
acl.append((Deny, self.user_id, "label"))
acl.append((Allow, "comment.label", "label"))
acl.extend(aces_for_permission("comment.label", self.topic.group_id))
# reply:
# - removed comments can only be replied to by users who can remove