vc
This commit is contained in:
parent
f30eaba99c
commit
8743a4b123
1 changed files with 0 additions and 2 deletions
|
@ -162,8 +162,6 @@ def post_id(pid, anything=None, v=None, sub=None):
|
||||||
|
|
||||||
if post.club and not (v and (v.paid_dues or v.id == post.author_id)): abort(403)
|
if post.club and not (v and (v.paid_dues or v.id == post.author_id)): abort(403)
|
||||||
|
|
||||||
if post.private and not (v and (v.admin_level > 1 or v.id == post.author.id)): abort(403)
|
|
||||||
|
|
||||||
if v:
|
if v:
|
||||||
votes = g.db.query(CommentVote).filter_by(user_id=v.id).subquery()
|
votes = g.db.query(CommentVote).filter_by(user_id=v.id).subquery()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue