Remove search and allow text input for job token allowlist

What does this MR do and why?

Implements #470880 (closed)

There have been issues with the search UI for the CI/CD job token allowlist where it doesn't filter/search for the given group or project precisely enough, leading to users being unable to add specific groups or projects to the allowlist.

This MR removes the search UI and replaces it with just a simple text input. The user can provide the full path of any group or project and add it to the allowlist.

The API is already able to handle this, so this is just a UI update.

References

Please include cross links to any resources that are relevant to this MR This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

Documentation.

MR acceptance checklist

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

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
before after

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Go to Settings > CI/CD > Job token permissions
  2. In the CI/CD job token allowlist, click Add group or project.
  3. Verify that you the search UI has been replaced with a text input.
Edited by Mireya Andres

Merge request reports

Loading