Page MenuHomePhabricator

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

Authored by kamil on Feb 28 2025, 4:03 AM.
Tags
None
Referenced Files
F5130870: D14424.id.diff
Fri, Apr 4, 12:00 AM
F5124735: D14424.id47308.diff
Thu, Apr 3, 8:54 PM
F5124506: D14424.diff
Thu, Apr 3, 8:10 PM
F5118531: D14424.diff
Thu, Apr 3, 1:13 AM
Unknown Object (File)
Wed, Apr 2, 10:32 PM
Unknown Object (File)
Sat, Mar 15, 1:43 PM
Unknown Object (File)
Sat, Mar 15, 6:48 AM
Unknown Object (File)
Fri, Mar 14, 2:36 PM
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
Branch
update
Lint
No Lint Coverage
Unit
No Test Coverage