Skip to content

Allow Developers to create a new project from project templates

What does this MR do and why?

This MR fixes the behavior of a developer who can create projects using a built-in or sample template and cannot import those templates since the import process now requires a minimum role of the maintainer. However, these permissions should not affect the creation of projects from templates.

Related to #414046 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

  1. As a user with a Developer role, create a new project in a group where you can create projects.
  2. Go to the group page and create a new project from templates.
  3. Find the template you need and click the Use template button.
  4. Fill in the information and hit the Create project button.
  5. The import process should start and not show a User is not allowed to import projects error.
Edited by Javiera Tapia

Merge request reports