Page MenuHomePhabricator

[native] remove `useStaffCanSee` from `BackupHandler`
ClosedPublic

Authored by kamil on Feb 28 2025, 4:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 6, 3:30 PM
Unknown Object (File)
Sun, Apr 6, 3:21 PM
Unknown Object (File)
Fri, Apr 4, 11:00 AM
Unknown Object (File)
Fri, Apr 4, 6:44 AM
Unknown Object (File)
Fri, Apr 4, 12:00 AM
Unknown Object (File)
Thu, Apr 3, 8:54 PM
Unknown Object (File)
Thu, Apr 3, 8:10 PM
Unknown Object (File)
Thu, Apr 3, 1:13 AM
Subscribers

Details

Summary

Caught by @tomek. useStaffCanSee is basically the same as useIsRestoreFlowEnabled anyway, but because we were not using useIsRestoreFlowEnabled, the migration could still be turned off after release.

This is because this handler was implemented a lot earlier than useIsRestoreFlowEnabled.

Test Plan
  1. useIsRestoreFlowEnabled -> false
  2. Created account, handler is disabled, user is on v1
  3. useIsRestoreFlowEnabled -> true
  4. Migration executed and backup uploaded

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable