Page MenuHomePhabricator

[identity] Add function to remove device from list
ClosedPublic

Authored by bartek on Dec 19 2023, 4:49 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 30, 1:27 PM
Unknown Object (File)
Sat, Jun 29, 10:16 PM
Unknown Object (File)
Fri, Jun 28, 4:49 PM
Unknown Object (File)
Wed, Jun 26, 4:00 AM
Unknown Object (File)
Tue, Jun 25, 11:29 AM
Unknown Object (File)
Tue, Jun 25, 11:29 AM
Unknown Object (File)
Tue, Jun 25, 11:29 AM
Unknown Object (File)
Tue, Jun 25, 11:29 AM
Subscribers

Details

Summary

Similiar to D10220 but for removing a device from the list.

Depends on D10304

Test Plan

Repeated test plan from D10220 then called this function and verified a new list was generated without the device.
Called the function twice - got DeviceNotFound error during second call, as expected.
Calling Logout RPC has the same effect.

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.Dec 19 2023, 6:27 AM
varun added inline comments.
services/identity/src/database/device_list.rs
689 ↗(On Diff #34903)

i think you forgot to update this comment after copying and pasting

This revision is now accepted and ready to land.Jan 10 2024, 1:30 PM