Draft: Add foundational flows option

What does this MR do and why?

WIP commit that enables foundational flows to be selected per group which then cascades down to the subgroups and projects while onboarding the service accounts and flows from AI catalog.

This was aimed to be a small iteration to get the functionality out the door, it however was not meant to support a larger amount of foundational flows, the UX for that is not suitable and the DB setup does not scale well enough for that.

Things to do:

  • DB is setup to use simple integer array, probably see if we can make it easier to scale
  • Some active record operations need to move to finders etc
  • It relies on this MR so you need to rebase
  • Cascading worker probably needs to be split-up
  • Update all the specs

References

Screenshots or screen recordings

Before After

How to set up and validate locally

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 #568031 (closed)

Edited by Fred de Gier

Merge request reports

Loading