Fix inherited source filter for Pipeline execution policies

What does this MR do and why?

This MR fixes inherited source filter for Pipeline execution policies.

MR acceptance checklist

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

Screenshots or screen recordings

Before After
CleanShot_2024-08-13_at_11.53.44 CleanShot_2024-08-13_at_11.54.31

How to set up and validate locally

  1. Create a group and a new Pipeline execution policy for this group
  2. In the group, create a new project and a new Pipeline execution policy for this project
  3. Go to the project -> Policies and verify that Source filter gives correct results

Merge request reports

Loading