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
F2193067: D10246.id35275.diff
Thu, Jul 4, 9:02 PM
F2192874: D10246.id34412.diff
Thu, Jul 4, 8:38 PM
F2192803: D10246.id35265.diff
Thu, Jul 4, 8:31 PM
F2192493: D10246.id34507.diff
Thu, Jul 4, 7:55 PM
Unknown Object (File)
Wed, Jul 3, 12:44 PM
Unknown Object (File)
Tue, Jul 2, 4:39 PM
Unknown Object (File)
Sun, Jun 30, 1:59 PM
Unknown Object (File)
Fri, Jun 28, 12:44 AM
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