Error: Your account doesn't have GitLab Duo access. Please contact your system administrator for access.

Steps to reproduce:

  1. Sign in as Duo Core user
  2. Fork a project into an Ultimate group (I chose to fork https://gitlab.com/gitlab-org/modelops/applied-ml/code-suggestions/ai-assist)
  3. Create an MR on fork to primary repo
  4. See error on page: Your account doesn't have GitLab Duo access. Please contact your system administrator for access.

I saw this when logged in as jessieayoung and viewing https://gitlab.com/gitlab-org/modelops/applied-ml/code-suggestions/ai-assist/-/merge_requests/3811

I think this has something to do with Duo Code Review. The AI Gateway project has Duo Code Review auto-enabled, which is an Duo Enterprise feature. So a Duo Core user would not have access to the feature even if they can access a project with the setting enabled.