Default target branch in Merge Request is always a repository I have no access to
Problem to solve
After a fork is created, if the upstream project is made private or the user loses access to the fork, opening a merge request still defaults to the parent project.
Further details
Our workflow involves making feature branches and merge requests to master. However the default target branch for merge requests is always the original repository, which we do not have permissions to view/read/write.
The default target branch for merge requests should be the master branch of the current repo.
Proposal
If the user opening the merge request does not have permission to open the merge request to the upstream project, default the target branch to be the default branch of the current project.
Links / references
Edited by James Ramsay (ex-GitLab)