Groups
Build groups of people from your organization chart or by hand, and use them for policies, external MCP servers and Web Studio.
Who can do this:Org admin
A group is a set of members of your organization. Swarmix uses groups wherever you choose who a setting applies to: policies, external MCP servers and Web Studio.
Before you start
You need the organization admin role. You build rule groups in the Swarmix web dashboard. You can also build list groups in Studio.
Two kinds of groups
- A rule group follows your organization chart, such as "everyone in Engineering based in the EU". People join and leave it as their units, locations and tags change.
- A list group holds people you pick by hand.
A person can be in any number of groups. A group stays the kind you created it as.
Create a rule group
- In the web dashboard, open Organization, then the Groups tab.
- Click New rule group and enter a name and a description.
- Choose whether people match all or any of the conditions.
- Click Add condition and choose a Unit, Location, Region, Country, Tag or IdP group, then its value.
- Click Who matches? to see how many people the rule selects, and who.
- Click Create rule group.
A unit condition includes the units under it unless you clear "and the units under it". A tag condition with an empty value matches any value of the key. An IdP group condition selects the people in one of your identity provider's groups, sent through SCIM provisioning.
Create a list group
- On the Groups tab, click New list group, enter a name and click Create list group.
- On the group's row, click Members and add people.
You can also tick list groups on a person's profile. In Studio, open Settings → Organization → Policies, then the Groups tab, to build list groups there. Studio shows rule groups read only.
Where Swarmix uses groups
| Feature | Where you pick groups | More |
|---|---|---|
| Policies | A policy's Targeting tab. The tab calls groups "roles". | How policies work |
| External MCP servers | In the web dashboard's MCP Gateway, a server's Who can use it | Tools and external services |
| Who may use Web Studio | Pods → Who may use pods | Set up Web Studio |
| Where Web Studio runs | Pods → Where they run: the first rule whose group a person is in decides | Placement and regions |
When a group's members change, Swarmix updates each of these. Connected Hives check their policy again at once.
Change or delete a group
On the group's row, click Edit to rename it or change its rule. A rule group's members follow the rule: to change who is in it, change the rule or people's profiles.
Swarmix refuses to delete a group that a policy or an external MCP server uses. Remove it from them first.
Swarmix lets you delete a group that the Pods settings use. Its people then lose access to Web Studio if the group is in Who may use pods, or move to the default placement if a Where they run rule names it. Remove the group from the Pods page first.
Best practices
- Prefer rule groups. They follow people as their units, locations and tags change, without anyone editing the group.
- Name groups after who is in them, such as "EU engineering" or "Contractors". The name shows wherever you pick the group.
- Check Who matches? before you save a rule. A person without a profile matches no condition.
FAQ
A rule group's members come from its rule. Change the person's units, location or tags, or change the rule.
A rule group uses it. Change the group's rule first.
Studio builds list groups and shows rule groups read only. Build rule groups in the web dashboard, under Organization → Groups.