Page MenuHomePhabricator

[identity] Basic implementation of UpdateDeviceList RPC
ClosedPublic

Authored by bartek on Jan 24 2024, 2:05 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 22, 11:42 AM
Unknown Object (File)
Sun, Sep 22, 8:57 AM
Unknown Object (File)
Fri, Sep 20, 7:34 PM
Unknown Object (File)
Wed, Sep 4, 1:56 PM
Unknown Object (File)
Wed, Sep 4, 1:56 PM
Unknown Object (File)
Wed, Sep 4, 1:56 PM
Unknown Object (File)
Wed, Sep 4, 1:56 PM
Unknown Object (File)
Wed, Sep 4, 1:56 PM
Subscribers

Details

Summary

This implements small part of ENG-5101,
which is necessary for ENG-5425 to work.

Only implemented adding new devices to the device list, but not removing them. Appropriate checks have been added.

Depends on D10798

Test Plan

Called the RPC from the client and verified that the device list is updated in the database.
Also verified that the device list is not updated if the update is anything else than adding a new SINGLE device.

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.Jan 29 2024, 4:30 AM
bartek added inline comments.
services/identity/src/database/device_list.rs
760–761
services/identity/src/grpc_services/authenticated.rs
422–423
This revision is now accepted and ready to land.Jan 30 2024, 8:14 PM

Rebase on review feedback from parent diffs