Group security settings API for secret push protection did not propagate to subgroups on 17.7 & 17.8

Summary

  • We introduce Group security settings API to enable secret push protection on a group level
  • The API work for parent group and the projects in the parent group level
    • However, the API did not propagate to projects in the subgroups (2nd level groups)
  • Triggering the API for the subgroups does not work.
  • The API work just fine on version 17.9

Steps to reproduce

  • Tested this on version 17.7.6 & 17.8.4
  • Reported by customer (internal only zd ref)

What is the current bug behavior?

  • Secret push protection group API on version 17.7 & 17.8 did not propagate properly to subgroups

What is the expected correct behavior?

  • The group API enable the secret push protection for all projects in the subgroups

Possible fixes

Edited by Andrew Winata