Allow Creating Merge Request/Branch From A Confidential Issue In A Private Repository
<!-- This issue template can be used as a great starting point for feature requests. The section "Release notes" can be used as a summary of the feature and is also required if you want to have your release post blog MR auto generated using the release post item generator: https://about.gitlab.com/handbook/marketing/blog/release-posts/#release-post-item-generator. The remaining sections are the backbone for every feature in GitLab. The goal of this template is brevity for quick/smaller iterations. For a more thorough list of considerations for larger features or feature sets, you can leverage the detailed [feature proposal](https://gitlab.com/gitlab-org/gitlab/-/blob/master/.gitlab/issue_templates/Feature%20proposal%20-%20detailed.md). --> ### Release notes Users have the ability to [Create a new branch from an issue](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-new-branch-from-an-issue). However if the project is `private` and the issue is set to `confidential`, the [Create merge request](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-new-branch-from-an-issue) dropdown is hidden. This prevents users from creating a merge request and/or branch from a confidential issue in a private project. Currently, this appears to be the intended functionality rather than a bug and users can only create a [confidential merge request](https://docs.gitlab.com/ee/user/project/merge_requests/confidential.html#create-a-confidential-merge-request) from a public repository. Details are available in the following issue: * [Create Confidential Merge Request button missing when issue is confidential](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/66125) Per the above issue, [some users do not understand](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/66125#note_999518813) this functionality and would like the ability to create a merge request/branch from a confidential issue within a private repository. * [Zendesk (Internal)](https://gitlab.zendesk.com/agent/tickets/340893) <!-- What is the problem and solution you're proposing? This content sets the overall vision for the feature and serves as the release notes that will populate in various places, including the [release post blog](https://about.gitlab.com/releases/categories/releases/) and [Gitlab project releases](https://gitlab.com/gitlab-org/gitlab/-/releases). " --> ### Problem to solve We should add the ability to create a merge request/branch from a confidential issue in private repository. ### Proposal When a customer creates a confidential issue in a private repository, the `create merge request` dropdown button should not be hidden.
issue