v0.6.364: storage restored from a backup (#904), one-time first passwords (Q19) #1030

Merged
Cordy merged 27 commits from r7 into main 2026-10-27 20:53:42 +00:00
Owner

#904, built as decided on 2026-10-15 and 2026-10-27, with mockup v2 approved:

Declaring a restore:

  • Declared in Storage & quotas, or with cairnd restored while Cairn is stopped (--message, --notice-days, --pause-links, --security-incident).
  • Auto-detection on S3 through a witness, including a bucket rolled back while Cairn runs; while a restore is suspected, the declaration must cover all devices.
  • A new change-feed data epoch (X-Cairn-Data-Epoch, WebDAV property).

What gets paused:

  • Connected devices and apps that use the account password are paused (403 device-paused) until their person resumes them with per-app advice. That advice depends on the device mode for rclone.
  • Apps already paused stay paused until resumed; apps first seen after the notice ended are not paused.
  • Public links can be paused and resumed.

Notices and the checklist:

  • Everyone gets a notice banner with "Got it"; Account › Restore notices; "Seen by N of M" with a CSV export.
  • An admin checklist of 7 items. Its Accounts row lists local accounts changed after the backup, plus admin grants removed after the backup, with one-click repairs.
  • An optional incident box: every local account chooses a new password.

Q19: an admin-created account's first password is one-time.

Review: each task was reviewed with fix rounds, plus a merge fix and a whole-branch review: one should-fix, fixed.

Closes #904.

#904, built as decided on 2026-10-15 and 2026-10-27, with mockup v2 approved: **Declaring a restore:** - Declared in Storage & quotas, or with `cairnd restored` while Cairn is stopped (`--message`, `--notice-days`, `--pause-links`, `--security-incident`). - Auto-detection on S3 through a witness, including a bucket rolled back while Cairn runs; while a restore is suspected, the declaration must cover all devices. - A new change-feed data epoch (`X-Cairn-Data-Epoch`, WebDAV property). **What gets paused:** - Connected devices and apps that use the account password are paused (403 `device-paused`) until their person resumes them with per-app advice. That advice depends on the device mode for rclone. - Apps already paused stay paused until resumed; apps first seen after the notice ended are not paused. - Public links can be paused and resumed. **Notices and the checklist:** - Everyone gets a notice banner with "Got it"; Account › Restore notices; "Seen by N of M" with a CSV export. - An admin checklist of 7 items. Its Accounts row lists local accounts changed after the backup, plus admin grants removed after the backup, with one-click repairs. - An optional incident box: every local account chooses a new password. **Q19:** an admin-created account's first password is one-time. **Review:** each task was reviewed with fix rounds, plus a merge fix and a whole-branch review: one should-fix, fixed. Closes #904.
Cordy merged commit 9d1ff060f4 into main 2026-10-27 20:53:42 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#1030
No description provided.