Users have a list of groups that they belong to.
Posts also have a list of groups they belong to.
I am trying to find the most efficient way for the RG to search for posts that belong to a group that the user belongs to. If they have any group in common, the post is displayed in the user’s feed.
I need this to happen server-side for scaling. It feels like this should be straightforward but I’m probably missing something.