FEATURE: ability to hide or show specific post revisions

This commit is contained in:
David McClure
2014-10-13 01:18:49 -07:00
parent 1f8e1f8f17
commit 19d5362c6b
11 changed files with 195 additions and 39 deletions

View File

@ -157,6 +157,14 @@ module PostGuardian
can_see_post?(post)
end
def can_hide_post_revision?(post_revision)
is_staff?
end
def can_show_post_revision?(post_revision)
is_staff?
end
def can_vote?(post, opts={})
post_can_act?(post,:vote, opts)
end