Create a new protected branches shared view
What does this MR do and why?
Related to #372817 (closed), solved these points:
- Copy the existing EE project settings to a new section for EE groups
- Move the shared protected_branches files to a new shared location for projects and groups
| Directory Before | Directory After | Remark |
|---|---|---|
app/views/projects/protected_branches/ |
app/views/protected_branches/ |
|
ee/app/views/projects/protected_branches/ |
ee/app/views/protected_branches/ |
|
app/views/shared/projects/protected_branches/ |
app/views/protected_branches/shared/ |
This directory seem not to be appropriate before |
I split other points to other MRs to reduce the size of the MR, other MRs will be coming after this is merged.
How to set up and validate locally
- Visit the protected branches page: http://gdk.test:3000/gitlab-cn/gitlab/-/settings/repository#js-protected-branches-settings
- The feature of protected branches will be worked as before.
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.
/cc EM @daveliu
Edited by Song Huang