For the sake of simplicity, we will require the user to prove membership of the group only once. Then we will allow anonymous posting in that group.
So let's have the user generate a proof (scope e.g concat(groupId, now())) when he tries to join the group.
Then submit that proof to the server.