Skip to content

Add an test to prevent #416153

What does this MR do and why?

Recently there was a regression in compliance frameworks which caused sub-groups ability to add/edit frameworks, causing confusion. This was fixed in this MR Remove Compliance framework setting at sub-group (!128059 - merged). This MR adds a spec to ensure that inputs are parsed correctly to prevent any further regressions

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

https://docs.gitlab.com/ee/user/group/compliance_frameworks.html

  1. Validate that in a top group you can add/edit and set frameworks as default
  2. Validate that in a sub group that you can not add/edit and set frameworks as default
  3. Validate that in a project that you can set a framework from the list

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #420782 (closed)

Edited by Nate Rosandich

Merge request reports