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)
Wed, Nov 13, 12:23 AM
Unknown Object (File)
Sat, Nov 2, 12:25 PM
Unknown Object (File)
Wed, Oct 23, 2:55 AM
Unknown Object (File)
Tue, Oct 22, 1:08 PM
Unknown Object (File)
Tue, Oct 22, 1:08 PM
Unknown Object (File)
Tue, Oct 22, 1:08 PM
Unknown Object (File)
Tue, Oct 22, 9:18 AM
Unknown Object (File)
Tue, Oct 22, 5:05 AM
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.