Fix custom template import permission
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
- run the gdk from this branch
- In
gdk.test
UI in a Group's Settings select a subgroup containing custom project templatesGroup > Settings > General > Custom Project Templates
(you may need to create a group and put a project in it) - Give another user developer-level membership to that group
Admin > Overview > Groups > [group name] > manage access > Invite members
- impersonate that user
Admin > Overview > Users > [Developer user] > Impersonate
- create a new project from template in that group
[Group name] > New Project > Create from Template > Groups tab
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #387891 (closed)
Edited by Carla Drago