Page MenuHomePhabricator

[identity] Verify new flow migration device list update
ClosedPublic

Authored by bartek on Dec 6 2024, 1:35 AM.
Tags
None
Referenced Files
F3761523: D14088.id46459.diff
Fri, Jan 10, 4:44 PM
F3760195: D14088.id46574.diff
Fri, Jan 10, 12:45 PM
Unknown Object (File)
Wed, Jan 8, 8:20 PM
Unknown Object (File)
Wed, Jan 8, 7:49 AM
Unknown Object (File)
Tue, Jan 7, 9:42 PM
Unknown Object (File)
Mon, Jan 6, 1:52 AM
Unknown Object (File)
Fri, Jan 3, 2:05 PM
Unknown Object (File)
Fri, Jan 3, 1:05 PM
Subscribers

Details

Summary

Address ENG-9694

  • For old flows: Should allow reordering primary device under the following conditions:
    • Previous device list was unsigned.
    • Reorder only makes the calling device primary (only one swap, no more changes).
  • Otherwise, if previous device list was signed, it should act as before

Depends on D14087

Test Plan
  • Commtest
  • Manual testing during development of device list migration handler

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Mon, Dec 16, 4:24 AM
bartek added inline comments.
services/commtest/tests/identity_device_list_tests.rs
202–209 ↗(On Diff #46459)

Now all updates after migration need to be signed

This revision is now accepted and ready to land.Mon, Dec 16, 8:33 AM