Update access level for imported protected tags
What does this MR do and why?
Problem
Protected tags permission does not reset to maintainer when a project is created from a template.
Solution
Reset permissions to maintainer level when the importer is not the group owner of the project.
This solution takes into account the export/import access level for protected branches and also the updates made in this !110765 (merged) as well
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.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
| Before | After |
|---|---|
![]() |
![]() |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Create a group project template and add a protected tag in the repository settings
- Create a new project and select "create from template"
- Select the template created from step 1
- After the import is done, check the repository settings of the newly created project
- Confirm the protected tags create access level permissions is set to maintainer
Related to #455296 (closed)

