FE: Add ability to search suggested Security Policy Projects for project/group
Why are we doing this work
In the scope of this issue, we would like to add the ability to search suggested Security Policy Projects when linking a Group or Project with a Security Policy Project. Currently, users have the ability to search projects, although it might not be helpful as we are listing all possible projects, and we would like to limit that to projects that already are Security Policy Projects and could be reused. Current linking/unlinking functionality remains unchanged, only the ability to search project is affected.
Relevant links
Non-functional requirements
- [-] Documentation: no documentation update is needed
- [-] Feature flag: no feature flag is needed
-
Performance: we should test if this feature is working for large groups (like gitlab-org) -
Testing: test linking/unlinking, ensure that we list projects that are linkable (we have proper rights to use given project, etc.)
Implementation plan
TBD
Verification steps
- Create new group/project
- Try to link Security Policy Project by clicking
Edit security policy project
on Policies page - See if you can uncheck/check
Show only security policy projecst
and see how it affects search results - Try to link and unlink Security Policy Project
Edited by Alan (Maciej) Paruszewski