TNL-301 Filter posts by group_id.

https://openedx.atlassian.net/browse/TNL-301

@gwprice @jimabramson Please review.
you could also change it back to user_has_access_to_thread and pass a thread - that almost seems like it would make more sense