Skip to content

Fix initial user selection after search

Artur Fedorov requested to merge 474645-policies-bug-user-search into master

What does this MR do and why?

Initial selection was cleaned out when user performed selection after search This MR fixes this bug

This code update enhances the user selection component in the security orchestration policy editor. It introduces a search feature that filters users based on input, making it easier to find and select specific users. Additionally, it ensures that previously selected users remain selected even after performing a search, improving the overall user experience and efficiency when managing policy approvers.

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
See video in parent issue selection.mov

How to set up and validate locally

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

  1. Go to Group/Projects
  2. Secure -> Policies
  3. New policy -> New approval policy
  4. Go to actions
  5. Select individual users
  6. Select one user
  7. Perform search, make sure selected user is filtered out
  8. Select filtered user, make sure selected items are reflected in dropdown
  9. See detailed steps in parent issue

Related to #474645 (closed)

Merge request reports

Loading