Page MenuHomePhabricator

[identity] delete all token data on user account deletion
ClosedPublic

Authored by varun on Thu, Apr 25, 4:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 2, 6:25 AM
Unknown Object (File)
Tue, Apr 30, 8:03 PM
Unknown Object (File)
Tue, Apr 30, 11:23 AM
Unknown Object (File)
Sun, Apr 28, 5:13 PM
Unknown Object (File)
Thu, Apr 25, 6:30 PM
Unknown Object (File)
Thu, Apr 25, 6:26 PM
Subscribers

Details

Summary

new db method to get all tokens for a user and then delete them with BatchWriteItem. we use the comm-lib batch_write function for the delete requests.

Depends on D11795

Test Plan

signed in to a local account from web, native, and keyserver. then deleted my account from native. confirmed that there were no tokens in local ddb for my user ID

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

varun requested review of this revision.Thu, Apr 25, 5:00 PM
bartek added inline comments.
services/identity/src/constants.rs
61–69 ↗(On Diff #39522)

👍

This revision is now accepted and ready to land.Fri, Apr 26, 1:14 AM