From 792ab0631c85098fbf92e727b77158fb9dae5219 Mon Sep 17 00:00:00 2001 From: Bob Van Landuyt Date: Fri, 23 Feb 2018 18:30:37 +0100 Subject: Allow a user to select `allow maintainer to push` When a project is not private, and the source branch not protected the user can now select the option to allow maintainers to push to this branch --- app/serializers/merge_request_widget_entity.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/serializers') diff --git a/app/serializers/merge_request_widget_entity.rb b/app/serializers/merge_request_widget_entity.rb index a3ebec0efc6..89b49613a41 100644 --- a/app/serializers/merge_request_widget_entity.rb +++ b/app/serializers/merge_request_widget_entity.rb @@ -11,6 +11,7 @@ class MergeRequestWidgetEntity < IssuableEntity expose :source_project_id expose :target_branch expose :target_project_id + expose :allow_maintainer_to_push expose :should_be_rebased?, as: :should_be_rebased expose :ff_only_enabled do |merge_request| -- cgit v1.2.1