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)
Wed, Nov 6, 11:44 PM
Unknown Object (File)
Oct 18 2024, 4:14 AM
Unknown Object (File)
Oct 18 2024, 4:14 AM
Unknown Object (File)
Oct 18 2024, 4:14 AM
Unknown Object (File)
Oct 18 2024, 4:14 AM
Unknown Object (File)
Oct 18 2024, 4:14 AM
Unknown Object (File)
Oct 18 2024, 4:14 AM
Unknown Object (File)
Oct 7 2024, 12:08 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