FE: Create "Groups" selection
Why are we doing this work
- Users want to be able to select a group from a dropdown
Relevant links
Implementation plan
-
MR 1 -
frontend Retrieve the project's groups in .../security_orchestration/components/policy_editor/scan_result_policy/policy_action_builder_v2.vue
-
-
MR 2 -
frontend Retrieve all the groups in the instance and allow the user to select from that list using the graphql endpoint created from Scan Result Policy - `group_approvers` string m... (#378234 - closed)
-
Verification steps
- Upload a GitLab Ultimate license
- Enable the
:scan_result_role_action
feature flag with the below command
echo "Feature.enable(:scan_result_role_action)" | rails c
- Navigate to a project/group => Security & Compliance => Policies => New policy => Scan Result Policy
- Verify a user can select
Groups
in theActions
area and the dropdown for selecting the groups displays the correct information
Edited by Alexander Turinske