Home page content feed

Hi

I'm using this template alongside Membership. I have around 5 or 6 categories. I only want users of each group to be able to see the content placed in their own category.

This is the standard for the Buddypress theme, but I'm having trouble replicating it in this template. It seems that the Post Title is visable but when you click on the post title the membership rules kick in and you are taken to the protected-content page.

However, I don't want the post to be visable at all. I need it not to exist to the Groups who are not allowed to see it.

In short,

I make a post in Cat 4
Group A is permitted to see Cat 3 only
Group A shouldn't be allowed to see any trace of my post in Cat 4

Thanks

M