Page MenuHomePhabricator

[identity] Add function to delete all user devices data
ClosedPublic

Authored by bartek on Dec 8 2023, 4:40 AM.
Tags
None
Referenced Files
F3399571: D10246.id34507.diff
Mon, Dec 2, 3:50 AM
F3399297: D10246.id34412.diff
Mon, Dec 2, 2:56 AM
F3399221: D10246.id35265.diff
Mon, Dec 2, 2:29 AM
Unknown Object (File)
Thu, Nov 28, 12:48 PM
Unknown Object (File)
Wed, Nov 13, 2:08 AM
Unknown Object (File)
Wed, Nov 13, 12:46 AM
Unknown Object (File)
Thu, Nov 7, 12:17 AM
Unknown Object (File)
Oct 22 2024, 6:11 PM
Subscribers

Details

Summary

Resolves ENG-5120.

Depends on D10221

Test Plan

Called DeleteUser RPC and verified with awslocal dynamodb scan that no rows were left in the identity-devices table with given userID.

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.Dec 8 2023, 5:12 AM
bartek added inline comments.
services/identity/src/database/device_list.rs
455–457 ↗(On Diff #34412)

leftover

Move function into impl DatabaseClient

varun added inline comments.
services/identity/src/database.rs
725 ↗(On Diff #34507)

should we use the same format as on line 722?

This revision is now accepted and ready to land.Dec 13 2023, 6:10 PM