Skip to content

Allow user to add and edit license policies

blocked by #14061 (closed)

Problem to solve

Follow up to: #14061 (closed). Policy tab was added, but maintainer is unable to edit/add policy from the policies section.

Context: This issue is based on discovery work done in https://gitlab.com/gitlab-org/gitlab-ee/issues/12941. We now have a dedicated license compliance section, that shows licenses detected in a project per the license scan. Currently, adding a license and classification policy is done in Project>Settings>CI/CD>License Compliance. This means the licenses detected are visible to all users, but the policies are not (unless a newly detected license appears in an MR).

Intended users

Further details

  • Upon completion of this MVC, the former LC section located in settings > CI/CD > LC will be removed
  • Next MVC will be to allow user to apply a policy to a license already detected in the project #33870 (closed)

Proposal

Maintainer UI Adding license and policy
maintainer addpolicy2

Permissions and Security

  • Developer view may view policies, but can't adjust them
  • Maintainer may view/add/edit/delete policies
  • Public projects policy section is not visible to non-project participants (#33659 (closed))

Documentation

Testing

TBD

What does success look like, and how can we measure that?

  • User navigates to this section when tasked with adding a license policy
  • User is able to successfully add a license policy

What is the type of buyer?

GitLab Ultimate

Links / references

Implementation Plan

UX

Backend - person

Frontend - person

Documentation - person

Product Management - @NicoleSchwartz

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖