Skip to content

Add Project.projectComplianceStandardsAdherence field

Illya Klymov requested to merge xanf-add-project-adherence into master

What does this MR do and why?

This MR adds Project.projectComplianceStandards Adherence field in our graphQL API

This is required for implementing project-level compliance center at Add compliance center to project level (#441350 - closed)

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

N/A

How to set up and validate locally

  • Have a group with adherence report violations (most seeded groups will work)
  • Impersonate a user which is not a member of a group but is an owner of a project
  • Make sure that following graphql query returns data
{
  project(fullPath: "Commit451/lab-coat"){
    projectComplianceStandardsAdherence {
      edges {
        node {
          id
          status
        }
      }
    }
  }
}
Edited by Illya Klymov

Merge request reports

Loading