Files: support two-way remote sync with connector write policy #24

Open
opened 2026-07-11 03:46:41 +02:00 by zemion · 0 comments
Owner

Context

File connectors currently need a clear policy for whether GovOPlaN only reads from remote storage or also writes changes back.

Requested behavior

Support two-way sync for file connectors, with an explicit connector setting to allow or disallow writing to the remote.

Acceptance criteria

  • Connector settings include a write-back / remote-write policy.
  • Read-only connectors never write, delete, move, or overwrite remote files.
  • Write-enabled connectors can sync supported local changes back to the remote.
  • The design covers conflict handling, deletion propagation, rename/move behavior, remote permissions, and failure recovery.
  • UI clearly displays whether a connector is read-only or two-way.
  • Tests cover read-only enforcement and at least one successful write-back path.

Open decisions

  • Which connector types support write-back first?
  • Are deletes propagated by default, staged for approval, or disabled initially?
## Context File connectors currently need a clear policy for whether GovOPlaN only reads from remote storage or also writes changes back. ## Requested behavior Support two-way sync for file connectors, with an explicit connector setting to allow or disallow writing to the remote. ## Acceptance criteria - Connector settings include a write-back / remote-write policy. - Read-only connectors never write, delete, move, or overwrite remote files. - Write-enabled connectors can sync supported local changes back to the remote. - The design covers conflict handling, deletion propagation, rename/move behavior, remote permissions, and failure recovery. - UI clearly displays whether a connector is read-only or two-way. - Tests cover read-only enforcement and at least one successful write-back path. ## Open decisions - Which connector types support write-back first? - Are deletes propagated by default, staged for approval, or disabled initially?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: add-ideas/govoplan-files#24
No description provided.