HomePhabricator
Diffusion Comm ca4595d363c0

[identity] Add verification for replacing a device

Description

[identity] Add verification for replacing a device

Summary:
Added possibility to replace a device in device list

Depends on D11687

Test Plan:

  • Added unit tests
  • Called UpdateDeviceList RPC with payload that replaced exactly one device - pass
  • Called UpdateDeviceList RPC with payload that tried to replace primary device - fail

Reviewers: varun

Reviewed By: varun

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D11711

Details

Provenance
bartekAuthored on Apr 22 2024, 6:44 AM
Reviewer
varun
Differential Revision
D11711: [identity] Add verification for replacing a device
Parents
rCOMM64ad347fd686: [lib] Turn `canPromoteSidebar` to `useCanPromoteSidebar` hook
Branches
Unknown
Tags
Unknown