# Groups

> Gather users into groups, so access you give a group reaches everyone in it and leaves with anyone who goes.

A group is a named set of users: a team, a department, everyone who may administer a realm. Give access to the group
rather than to each user, and membership does the rest. Someone who joins gets what the group holds; someone who
leaves loses it on their next request, with nothing else to clean up.

Groups are how access is given across the realm. An entitlement granted to a group reaches its members, a policy can
name a group, a group's vault holds the secrets its members share, and the right to administer a realm is given to a
group. See [Entitlements](../../workforce-identity/authorization/entitlements/),
[Policies](../../workforce-identity/authorization/policies/), [Vaults](../../secrets-store/vaults/) and
[Delegated administration](../../platform/realms/delegated-administration/).

<CardGrid>
  <LinkCard title="Add groups and members" description="Create a group, add and remove members, and list them." href="./add-groups-and-members/" />
  <LinkCard title="Rule-based membership" description="Membership worked out from a rule on users' attributes, kept current both ways." href="./rule-based-membership/" />
</CardGrid>

## Capabilities

| Capability | What it gives you |
|---|---|
| [Add groups and members](./add-groups-and-members/) | Groups of users, with membership readable and changeable from the group or from the user |
| [Entitlements](../../workforce-identity/authorization/entitlements/) | What a group holds, between two dates you set, reaching every member |
| [Rule-based membership](./rule-based-membership/) | Members worked out from a rule on their attributes, on a type of your own (with limits) |
| [Change history](../attributes/identity-model/#every-change-is-recorded) | Every change to a group, newest first |

## Coming next

Rule-based membership on the shipped group, and groups users join themselves, are planned: see
[What's next for groups](./whats-next/).

## Related

- [Users](../users/): the accounts a group holds.
- [Joiners, movers and leavers](../lifecycle/joiners-movers-leavers/): moving a user between groups when their role
  changes.
