Decouples group content visibility from membership policy

rebased #528 and updated based on discussion for that ticket

Needs to be tested.