System Design Atlas

Collaborative documents with offline edits

09 / 10Worked example

Operations and security

How can the editor retain rejected offline work?

The measurement points require responsible roles, responses and auditable evidence. The document owner handles content review according to the role contract; platform operations coordinates technical recovery where the case assigns that responsibility.

Starting point Create snapshots with an explicit included revision.

Assumptions for the example case

Our own fictitious example design: A text document with a character sequence and comments; several devices per person; deterministic merging; server-side checked permissions during synchronization. Figures and quality goals are illustrative test assumptions. Outside are table formulas, encrypted end-to-end cooperation and automatic content conflict resolution.

Signal, ownership and resolution

Synchronization, rights clearance and restoration

O-91 remains pendingSignal
O-91 remains pending → Supportcheck
SupportAcceptance status verified
Change rejectedSignal
Change rejected → Document ownerscheck
Document ownersExport or new intention
Snapshot is differentSignal
Snapshot is different → Platform operationscheck
Platform operationsConsistent revision watermark + operations

Support sees limited metadata; document owners resolve permissions; platform operations restores revision watermarks.

Permission withdrawal affects a local draft. Keep the rejected change exportable so the editor retains access to the work while server acceptance remains subject to permission.

Access and recovery

Object-level authorisation
The worker receives only the objects necessary for its assigned task. Each change is checked on the server side against role and concrete object. Document owners receive documented clarification rights.
Evidence rather than assumption
Server accepts O-91, the response is lost. Device still shows pending and queries the same change state. After reply, confirmed appears; a later permission withdrawal does not remove the already confirmed historical change.
Operating agreement
Agree retention periods, on-call coverage, recovery time and acceptable data loss before live operation. Test restoration from backup using the open case from step 7. Keep sensitive payloads out of operational logs.

Preserve rejected work

Preserve rejected work

Keep rejected changes exportable.

Permission withdrawal affects a local draft.

Content remains accessible without unauthorized acceptance.

Alternative considered
Quiet deletion loses work.
Trade-off
Support must declare status.
Reassess
Data protection rules limit local storage.

Terms in this step

Preserve rejected work
Content remains accessible without unauthorized acceptance.

Try it yourself

An offline change is rejected because write permission was revoked. Define access to that work and the next authorized path.

A hint for your attempt

Use the specific entities and conditions from this step. The two solution parts distinguish the decision from its evidenced outcome.

Compare with a possible solution
First part of the solution
The change remains exportable in the local draft; it is not adopted in D-91.
Second part of the solution
Document owners can agree on a new legitimate transfer path. Repeated sending of the same rejected intent does not create permission.

Apply to your project

Which corresponding assumption in your project would you check first? Use as an occasion: Data protection rules limit local storage.

Step 10 Examined: Play through convergence.