List scan result policies under project settings approvals

Why are we doing this work

As an administrator for GitLab, I need to be able to see all of the merge request approval rules in a single location so that I can understand everything that will be required for an MR to be approved.

Relevant links

Design
Scan result policies
Approval rules

Non-functional requirements

  • Documentation:
  • Feature flag:
  • Performance:
  • Testing:

Implementation plan

  • backend Update payload to include path to security policies.
  • frontend Add securityPoliciesPath (previous item) and projectPath(existing) into provide in order to be accessible by the new component. Related code.
  • frontend Render the list of scan result policies between project rules and approval settings.
  • frontend Load scan result policies via graphql.
  • frontend Join branches (from all rules) as discussed here.
  • frontend Humanized policy text should use the existing format as discussed here.
Edited Apr 20, 2022 by Zamir Martins
Assignee Loading
Time tracking Loading