This commit is contained in:
Aevann1 2021-12-02 20:45:03 +02:00
parent 0272c08113
commit 926816b047
5 changed files with 11 additions and 11 deletions

View file

@ -125,7 +125,7 @@ def post_id(pid, anything=None, v=None):
post = get_post(pid, v=v)
if post.club and not (v and v.paid_dues) or post.private and not (v and (v.id == post.author_id or v.admin_level > 1)): abort(403)
if post.club and not (v and (v.paid_dues or v.id == post.author_id)) or post.private: abort(403)
if v: