Extend Template or Create endpoint for returning the data for project/branch combination
We currently display the protected branches through rails.
This is done here:
Showing:
Creating protected branch:
Creating code owner form:
We can either change this template to handle showing the new code owner sections or we can create a new api and frontend can send a request there.
Questions:
How do we handle the protected branches that are already ticked? Do we put all the sections in for those?
Acceptance Criteria:
- Users can see the sections on the create protected branch screen
- Users can see the sections on the already created protected branches