Page MenuHomePhabricator

[client-backup] add local settings to store
ClosedPublic

Authored by kamil on Aug 29 2023, 7:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 1:53 AM
Unknown Object (File)
Fri, Nov 22, 8:11 PM
Unknown Object (File)
Fri, Nov 22, 4:51 PM
Unknown Object (File)
Wed, Nov 20, 4:37 PM
Unknown Object (File)
Wed, Nov 20, 4:37 PM
Unknown Object (File)
Wed, Nov 20, 4:37 PM
Unknown Object (File)
Wed, Nov 20, 4:36 PM
Unknown Object (File)
Wed, Nov 20, 4:18 PM
Subscribers

Details

Summary

Allow user (for now only staff) to enable in disable automatic backup.

Toggle will be introduced in next diff.

Depends on D9003

Test Plan

Flip value and check result

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Aug 29 2023, 7:50 AM
inka added inline comments.
native/backup/backup-handler.js
33 ↗(On Diff #30499)

Can you please change this to || (!isStaff && !isDev)? This seems to be the preferred way in our codebase

This revision is now accepted and ready to land.Aug 29 2023, 9:29 AM
  • improve condition
  • handle logout
kamil requested review of this revision.Sep 4 2023, 3:13 AM
This revision is now accepted and ready to land.Sep 4 2023, 8:34 AM
This revision was automatically updated to reflect the committed changes.