forking a repository within the same group only possible through the API
<!--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=339724) </details> <!--IssueSummary end--> <!-- This template is a great use for issues that are feature::additions or technical tasks for larger issues.--> ### Proposal When we try to fork a repository in a namespace, the UI doesn't allow us to create the fork in the same namespace, but the API does. Steps to reproduce: - create a namespace - create a repository - click on fork on this repository - the `project URL` shows all the namespace the user has access, but doesn't show the namespace where the repository is - if we use an API call `curl --request POST --data "namespace_id=NAMESPACE_ID" --data "name=REPO_FORK" --data "path=REPO_FORK" --header "PRIVATE-TOKEN: <YOUR_TOKEN_HERE>" "https://gitlab.com/api/v4/projects/PROJECT_ID/fork"` this works, we can fork it in the same namespace with a different name A silver customer has been requesting this: [internal link](https://gitlab.zendesk.com/agent/tickets/229233)
issue