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
F3714118: D14088.diff
Wed, Jan 8, 7:49 AM
F3704271: D14088.id.diff
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
Unknown Object (File)
Fri, Jan 3, 10:08 AM
Unknown Object (File)
Fri, Jan 3, 8:30 AM
Unknown Object (File)
Fri, Jan 3, 12:32 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
No Lint Coverage
Unit
No Test Coverage

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