Web IDE wrongly offers to fork when editing a branch with "Allow commits from members who can merge to the target branch." permissions
<!--IssueSummary start-->
<details>
<summary>
Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards.
</summary>
- [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=432820)
</details>
<!--IssueSummary end-->
Prerequistes:
- I am a maintainer/developer of the project
- Someone has created a MR and ticked "Allow commits from members who can merge to the target branch."
Actions:
- I click on the "Code" button on the top left of the MR, and then on "open in web ide"
Expected behaviour:
- I open the branch in the Web IDE, I do all expected features such as creating new commits or editing existing commits
Actual behaviour:
- The WebIDE screens offers me to create a new fork of the fork
If I checkout the branch on my computer, I can push new commits over it, so the permissions are there.
issue