Support rebase of source branch when merging is possible but you have no write permissions to that source branch
Origin of this issue: https://gitlab.com/gitlab-org/gitlab-ee/issues/3709#note_95121755
Problem
Situation: Merging is possible but you have no write permissions to that source branch, source branch needs to be rebased before merge.
If https://gitlab.com/gitlab-org/gitlab-ee/issues/3709 has been implemented we would in this case currently show the following mr widget state:
An improvement on this however would indeed make use of a pseudo/temp/shadow branch to which that person does have access.
Additional thoughts:
- it's very important for this feature that we need to be able to show the pipeline of that pseudo branch in this mr (which has the original source branch as its.. source branch :) ).
cc: @joseph.heenan @jlenny