Skip to content

Fix custom template import permission

Carla Drago requested to merge 387891-custom-template-import-hotfix into master

What does this MR do and why?

Custom project templates use the import service under-the-hood to create projects.

Recent updates to import permissions, requiring Maintainer level as a minimum to import, meant Developers were no longer able to create projects from custom templates. (see !117374 (merged))

This change removes the inadvertently applied permission and allows users at Developer level to create projects using custom project templates.

How to set up and validate locally

TBC

  1. run the gdk from this branch
  2. In gdk.test UI in a Group's Settings select a subgroup containing custom project templates Group > Settings > General > Custom Project Templates (you may need to create a group and put a project in it)
  3. Give another user developer-level membership to that group Admin > Overview > Groups > [group name] > manage access > Invite members
  4. impersonate that user Admin > Overview > Users > [Developer user] > Impersonate
  5. create a new project from template in that group [Group name] > New Project > Create from Template > Groups tab
  6. verify that the project is created successfully.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #387891 (closed)

Edited by Carla Drago

Merge request reports

Loading