gitlab-org--gitlab-foss/app/services/auto_merge
Bob Van Landuyt 20cb4f7ab5 Only assign merge params when allowed
When a user updates a merge request coming from a fork, they should
not be able to set `force_remove_source_branch` if they cannot push
code to the source project.

Otherwise developers of the target project could remove the source
branch of the source project by setting this flag through the API.
2019-10-24 12:19:56 +02:00
..
base_service.rb Only assign merge params when allowed 2019-10-24 12:19:56 +02:00
merge_when_pipeline_succeeds_service.rb Split AutoMergeService interfaces into two `cancel` and `abort` 2019-07-05 13:19:30 +07:00