How do you assign a badge automatically as soon as someone is added to a group?

Posting permissions in Discourse are controlled by the category and are group based. So, for different permissions, you need different categories.
What is the advantage of one big category? In topic lists like /latest, the category isn’t that relevant and it’s almost like talking in one category. You could also use a subcategory per group within one main category.