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 |
---|---|
![]() |
![]() |
How to set up and validate locally
- You need a GitLab Ultimate license.
- View the group settings at
http://gdk.test:3000/groups/gitlab-org/-/edit#js-compliance-frameworks-settings
. - Add a label with a scope, for example
GDPR::UK
. - 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #325260 (closed)
Edited by Jiaan Louw