Fix CE/EE separation of code in groups access dropdown

What does this MR do and why?

In !229920 (comment 3237373307) we noticed that the code in app/assets/javascripts/groups/settings/api/access_dropdown_api.js was not split up between CE and EE correctly. Also the autocomplete routes were defined using Gitlab.ee instead of being separated in the ee directory which makes it so the JavaScript path helpers are not generated in the correct place. This MR fixes both of these problems by moving the routes to an ee directory and moving app/assets/javascripts/groups/settings/api/access_dropdown_api.js and app/assets/javascripts/groups/settings/components/access_dropdown.vue to ee because they are only used in ee.

app/assets/javascripts/projects/settings/api/access_dropdown_api.js has the same problem but to keep this MR smaller I will fix this one in a follow-up MR.

Screenshots or screen recordings

Routes

Order is different, but same routes

Before After
Screenshot_2026-04-13_at_2.56.52_PM Screenshot_2026-04-13_at_2.59.42_PM

Protected environments

Still the same

Before After
Screenshot_2026-04-15_at_11.12.58_AM Screenshot_2026-04-15_at_11.51.07_AM

How to set up and validate locally

  1. Go to a premium or ultimate group -> Settings -> CI/CD
  2. Open dev tools -> Network
  3. In the Protected environments section click Protect an environment
  4. Select a tier
  5. Inspect network requests
  6. Verify dropdowns still work

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Hegman

Merge request reports

Loading