Geo Frontend - Support search filter on "selective sync by organization" dropdown
Problem
Geo supports selective synchronization by namespace. We should add the ability for a .com sysadmin to specify a set of organizations to replicate to a secondary site.
Proposal
This follows Geo Frontend - Add "selective sync by organizat... (#570585 - closed)
- On the
Edit Geo sitepage in the Geo admin page, update theOrganizations to synchronizedropdown to support search filters.
Yep this looks solid to cover configuring a site for this form of selective sync @dbalexandre. Some places we will need code changes:
- Add new supported type to the
geo_helper.rb#selective_sync_types_json- Add a new Vue file for
geo-site-form-organizationsthis will likely be similar to the file for Groupsgeo_site_form_namespaces.vue
- Depending on the overlap there may be an opportunity to generalize
geo_site_form_namespaces.vueto be data-driven and handle namespace or organization lookups based on the selected dropdown item.- Expose the new type in the parent vue component
geo_site_form_selective_sync.vue
Additionally, we will want to ensure the selective sync organizations is represented on the Geo Admin Dashboard. I believe the code is built to handle any new sync types based on the code
geo_site_sync_settings.vuebut we will want to verify when it is implemented.
Edited by Shane Maglangit
