dsads
This commit is contained in:
parent
0272c08113
commit
926816b047
5 changed files with 11 additions and 11 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue