Create a new protected branches shared view
Problem description
As described in the parent epic &8679 Users want to be able to have standardized workflows across teams and projects and leverage protected branches as a way to do this.
Implementation plan
- 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
- Update the shared edit form and other partials to accept variables so that it can also be used for groups.
- Make sure the data URL is also using the groups protected branch path too.
- It might make sense to break this form into group/project files rather than having if checks.
- Replace text
Branch was deletedwithBranch does not existin protected branch partial . - Update specs.
Note
Can be developed in parallel with the backend
Edited by Nate Rosandich