← Back to Activities Workflows
5.6.3 ActivityGroupsController Reference
This stable page summarizes app/plugins/Activities/src/Controller/ActivityGroupsController.php.
The controller provides index, gridData, view, add, edit, and delete for tenant-local Activity Group configuration. It coordinates requests, policy checks, scoped queries, flashes, and responses; ActivityGroupsTable owns validation/persistence.
Maintenance rules
- Use
ActivityGroupsTablePolicyscope for index/grid/export paths. - Authorize the entity for view/edit/delete.
- Do not delete or rename a group without respecting associated Activities and table rules.
- Keep Dataverse configuration in
ActivityGroupsGridColumns. - Make forms and delete confirmation keyboard-operable and expose errors/status programmatically.
- Do not return groups from another tenant or cache them under a global key.