[Frontend] Add filtered list of groups to a dropdown
Why are we doing this work
- Policy scope will now have fourth option: scoping to a group
- List of loaded groups should be limited to linked to same SPP as opened policy, according to the discussion
Relevant links
Non-functional requirements
-
Documentation: -
Feature flag: policy_group_scope
-
Performance: -
Testing: unit tests
Implementation plan
- Update
ee/app/assets/javascripts/security_orchestration/components/group_projects_dropdown.vue
to load only restricted lists of ids - Update
ee/app/assets/javascripts/security_orchestration/components/policy_editor/scope/scope_section.vue
to load linked namespaces for groups as well, when all linked groups option is selected, path groups to group_projects_dropdown.vue
Verification steps
Edited by Artur Fedorov