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)
Tue, Jun 25, 2:11 AM
Unknown Object (File)
Mon, Jun 24, 5:45 AM
Unknown Object (File)
Wed, Jun 19, 9:57 PM
Unknown Object (File)
Fri, May 31, 6:24 AM
Unknown Object (File)
May 23 2024, 5:42 AM
Unknown Object (File)
May 20 2024, 1:30 AM
Unknown Object (File)
May 20 2024, 1:30 AM
Unknown Object (File)
May 20 2024, 1:30 AM
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
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #36091)
services/identity/src/grpc_services/authenticated.rs
422–423 ↗(On Diff #36091)
This revision is now accepted and ready to land.Jan 30 2024, 8:14 PM

Rebase on review feedback from parent diffs