Skip to content

Resolve "Add support for subgroup events in Group webhooks"

Manoj M J requested to merge 260419-add-group-webhooks-for-subgroups into master

What does this MR do?

For #260419 (closed)

  • Adds ability to setup webhooks for subgroup events in /groups/group_name/-/hooks page.
  • Adds ability to setup webhooks for subgroup events via the /hooks API
  • Supports firing this webhook when a new subgroup is added to this group.
  • Supports firing this webhook when a subgroup is removed from this group.

Support for firing this webhook when a subgroup is updated is planned for later and is not part of this MR.

Screenshots (strongly suggested)

Setting up webhook

Screen_Shot_2021-02-02_at_12.06.07_PM

Webhook data when a subgroup is added

Screen_Shot_2021-02-01_at_2.37.38_PM

Webhook data when a subgroup is removed

Screen_Shot_2021-02-01_at_2.37.33_PM

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #260419 (closed)

Edited by Manoj M J

Merge request reports

Loading