Skip to content

Geo Frontend - Add "selective sync by organization" option

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 Backend - Add "selective sync by organizati... (#514251 - closed) (MR: Geo backend: Add selective sync by org settings (!201213 - merged))

  1. On the Edit Geo site page in the Geo admin page, update the Selective synchronization dropdown to show the Projects in certain organizations option.

    Screenshot_2025-01-30_at_14.16.05

  2. When the Projects in certain organizations option is selected, the Organizations to synchronize dropdown appears to specify a set of organizations to include. It should behave exactly like the Groups to synchronize dropdown.

    Screenshot_2025-01-30_at_14.16.23

  3. When clicking 'Save changes', these changes should be persisted in the geo_node_organization_links table.

  4. Ensure that everything is behind the geo_selective_sync_by_organizations feature flag.

#514251 (comment 2326359182)

Yep this looks solid to cover configuring a site for this form of selective sync @dbalexandre. Some places we will need code changes:


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.vue but we will want to verify when it is implemented.

Edited by 🤖 GitLab Bot 🤖