Skip to content
Group Management

Group Management

Group Management creates and maintains user groups. A group bundles users, for example a department, and is used to share resources such as secrets or drive files with all of its members. Unlike a role, a group carries no permissions of its own. Memberships are managed in User Management.

Groups

Enable

groups := std.Must(cfg.GroupManagement()) // application.GroupManagement

Group Management is always enabled, because User Management depends on it. It has the fields UseCases group.UseCases and Pages uigroup.Pages with the path Groups.

On every start the system group group.System (nago.group.system) is created or updated. It is meant for internal services, not for real users: for example, an SMTP server secret must be shared with it to be used by Mail Management.

Use cases

Use caseDescription
FindByIDLoads a group.
FindAllLists all groups.
CreateCreates a group.
UpdateUpdates a group.
UpsertCreates or updates a group by its ID.
DeleteDeletes a group.
FindMyGroupsLists the groups the subject is a member of.

The events group.Updated and group.Deleted are published.

Permissions

PermissionAllows to
nago.group.find_by_idview a group
nago.group.find_alllist all groups
nago.group.createcreate groups
nago.group.updateupdate groups
nago.group.deletedelete groups

UI

The page admin/groups lists, creates, edits and deletes groups. The admin center shows the card Gruppen in the group Nutzerverwaltung.

Related