- Purpose
- Let access be given to a named group of members at once, so that joining or leaving the group changes what each of them can reach.
- Operational principle
- If a group is given a role in a space, every member of the group can act there at that role; adding someone to the group gives them that access, and removing them takes it away, without anyone changing the space itself.
- State
member: Group -> set Userrole: GroupMembership -> one Role
- Actions
addToGroup Whoever manages the group adds a member, who gains every access the group holds.removeFromGroup Whoever manages the group removes a member, who loses the access they held through it.grantToGroup Whoever manages a space gives a group a role there.
- Misfits
- Once access comes through several groups and direct grants, nobody can tell what a member can do or which grant gives it.
- Removing a member from a space leaves the access they still hold through a group.
- A group made for another purpose, such as a mailing list or a team for mentions, is reused to give access, and everyone who joins it for that purpose gains the access too.
- Also called
- groups, teams, user groups
- Depends on
- Joining, Assigning roles
- Appears in
- Google Workspace groups in Drive sharing, GitHub teams, Microsoft Entra groups, Notion groups
Patterns that act on it
- Effective access
— the first misfit: access through several groups and direct grants