gitlab-org--gitlab-foss/app/services/protected_branches
Timothy Andrew 01d190a84a Have the `branches` API work with the new protected branches data model.
1. The new data model moves from `developers_can_{push,merge}` to
   `allowed_to_{push,merge}`.

2. The API interface has not been changed. It still accepts
   `developers_can_push` and `developers_can_merge` as options. These
   attributes are inferred from the new data model.

3. Modify the protected branch create/update services to translate from
   the API interface to our current data model.
2016-07-29 15:20:39 +05:30
..
base_service.rb Have the `branches` API work with the new protected branches data model. 2016-07-29 15:20:39 +05:30
create_service.rb Fix default branch protection. 2016-07-29 15:20:39 +05:30
update_service.rb Fix default branch protection. 2016-07-29 15:20:39 +05:30