Source code rules - Add a way to reset branch protections (unprotect a branch)
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=369518) </details> <!--IssueSummary end--> <!-- This template is a great use for issues that are feature::additions or technical tasks for larger issues.--> ### Proposal Add a button to reset the branch protection settings of a branch. Button could have a label of one of the following subject to solution validation: - Unprotect branch - Remove protections - Reset protections - Reset - Set as default ### Background Related to this issue is this question from https://gitlab.com/gitlab-org/ux-research/-/issues/1993#note_1048536732 > we are missing an unprotect branch button From this issue's description, if the user was to "unprotect" a branch they would need to revert the settings back to default and save the changes. Prior to the Branch Rules reorganization, to unprotect a branch would mean deleting it from the list and the button to delete the branch protection was called `Unprotect` ![image](/uploads/288641afb97f8ebba41d2bce9374f402/image.png)
issue