Skip to content

Add associations and validations for web_hooks and organizations

What does this MR do and why?

These changes are part of Add organization_id to the web_hooks table (#524812).

They add associations validations and callbacks for organizations for SystemHooks all web hook types (system, group, and project hooks).

This will ensure any new SystemHook webhooks will be created with an organization_id.

References

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #524812

Edited by Carla Drago

Merge request reports

Loading