Skip to content

User with developer role cannot create a new project from GitLab template due to an import error

Summary

Originally submitted via Support ticket - internal. User in question has developer role, group level permissions allow developers and maintainers to create projects. User was attempting to create a project from a Gitlab project template and received an error related to importing a project.

Steps to reproduce

  1. As a user with developer role, create a new project in a group where you have permission to create projects
  2. Select Create from template
  3. Find the template you'd like to use and click Use template button
  4. Fill in the information and hit Create project button.

What is the current bug behavior?

The user gets an error message User is not allowed to import projects"**

What is the expected correct behavior?

Creating a project from template should not cause import error.

Relevant logs and/or screenshots

Screenshot_2023-06-02_at_1.04.38_PM

Screenshot_2023-06-02_at_1.13.26_PM

image

Output of checks

This bug happens on GitLab.com

Possible fixes

Give user maintainer role.