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
Unknown Object (File)
Thu, Mar 13, 4:24 PM
Unknown Object (File)
Thu, Mar 13, 4:24 PM
Unknown Object (File)
Thu, Mar 13, 4:24 PM
Unknown Object (File)
Sun, Mar 9, 4:25 AM
Unknown Object (File)
Sun, Mar 9, 4:24 AM
Unknown Object (File)
Sat, Mar 8, 5:51 PM
Unknown Object (File)
Thu, Mar 6, 5:10 PM
Unknown Object (File)
Thu, Mar 6, 4:37 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.Dec 16 2024, 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.Dec 16 2024, 8:33 AM