Page MenuHomePhabricator

[identity] Verify new flow migration device list update
ClosedPublic

Authored by bartek on Fri, Dec 6, 1:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 21, 3:04 AM
Unknown Object (File)
Mon, Dec 16, 8:38 AM
Unknown Object (File)
Mon, Dec 16, 12:56 AM
Unknown Object (File)
Sun, Dec 15, 1:06 AM
Unknown Object (File)
Fri, Dec 13, 5:38 PM
Unknown Object (File)
Fri, Dec 13, 4:20 AM
Unknown Object (File)
Thu, Dec 12, 8:29 AM
Unknown Object (File)
Thu, Dec 12, 6:51 AM
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