Allow configurable hook for relevant grouprise actions/events
The grouprise setup at hostsharing.net would benefit from a configurable hook for group-related events. It would allow to update the mail delivery configuration (e.g. updating acceptable mail addresses) in a site-specific way.
The following events could be a good start for an improved mail setup:
- new group was created
- existing group was deleted
- existing group was renamed (i.e. its slug changed)
Probably a script (or many) may be configured in the GROUPRISE
section of the configuration.
The script could accept a JSON dataset as the argument. This dataset would contain all relevant information describing the event.
The relevant API of hostsharing.net is documented here. (just as a reference to a potential consumer of this hook)