fix(sync): bind browser data to one account owner

This commit is contained in:
2026-07-10 10:46:52 -04:00
parent 46eac43326
commit 3be13ca295
16 changed files with 678 additions and 24 deletions
+9
View File
@@ -20,6 +20,15 @@ pub enum SyncClientError {
#[error("Authenticated session changed during reconciliation")]
SessionChanged,
#[error("Cloud Sync owner is unclaimed; sign in again to bind this browser data")]
SyncOwnerUnclaimed,
#[error("This browser data belongs to a different Ely account")]
SyncOwnerMismatch,
#[error("Cloud Sync owner storage is unavailable: {0}")]
SyncOwnerStorage(String),
#[error("HTTP request failed for {endpoint}: {source}")]
Http {
endpoint: String,