Skip to content

Custom license templates

What does this MR do?

Adds an admin UI to add additional custom licenses to GitLab.

These licenses are made available as additional license choices when adding a license file in a project. The standard licenses are still provided in any case.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

As GitLab is a promoter of innersourcing this MR enables adding custom license files.

The development of this MR is sponsored by @siemens (/cc @bufferoverflow)

Screenshots (if relevant)

New admin UI

custom_license_template

Custom templates in the new license file dropdown

custom_license_template_dropdown

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Relates to https://gitlab.com/gitlab-org/gitlab-ce/issues/25631

Relates to https://gitlab.com/gitlab-org/gitlab-ee/issues/1602

Merge request reports