Use inGroups reactively in publish functions.