Skip to content

Unscope group compliance framework labels

What does this MR do and why?

This MR removes the scope from compliance framework labels in the group edit view for #325260 (closed), because:

  • We have no plans to support scoping (::) in compliance framework names. We do however allow it as valid input.
  • Other instances of the compliance frameworks do not render as scoped labels.

This MR also adds a tooltip describing the action on group compliance framework labels.

Screenshots or screen recordings

http://gdk.test:3000/groups/gitlab-org/-/edit#js-compliance-frameworks-settings

Before After
image image

How to set up and validate locally

  1. You need a GitLab Ultimate license.
  2. View the group settings at http://gdk.test:3000/groups/gitlab-org/-/edit#js-compliance-frameworks-settings.
  3. Add a label with a scope, for example GDPR::UK.
  4. Verify that it renders unscoped in the list view.

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

Edited by Jiaan Louw

Merge request reports