radar/forem — pull request #446 by daniely (2013-07-17 06:48:44+00:00)
Title: check forum read permissions when user replies to topic/post

fix for #445

i usually try to stay away from `any_instance` but here it was the most succinct way i could do it. if there's a better way to do this i'm all ears.

test was written at the controller level since it's about trying to bypass permissions by making a clever http POST. a feature test didn't make sense since presumably the user would not have access to links for replying to a post.