Default branch protection drop down

Proposal

Replace the form-select with a form-group that matches protected branch options.

From discussion here re-order the list to no one, maintainer, developers

Admin area

Not protected Protected (Default)
Admin_Area__Not_protected<span data-escaped-char><span data-escaped-char>_</span></span> Admin_Area__Protected<span data-escaped-char><span data-escaped-char>_</span></span>

Group

Allow owners to make changes Only administrators can make a change
Group__Allowed<span data-escaped-char><span data-escaped-char>_</span></span>
Admins always have control
Group__Prevent<span data-escaped-char><span data-escaped-char>_</span></span>
Disable the group

Implementation plan

frontend weight estimated at 2️⃣

  1. Update app/views/shared/_default_branch_protection.html.haml to show the new options.
  2. Options set in lib/gitlab/access.rb
  3. Update specs.
Edited by Nate Rosandich