Page MenuHomePhabricator

[identity] Ask Tunnelbroker to delete data on account deletion
ClosedPublic

Authored by bartek on Jul 29 2024, 7:02 AM.
Tags
None
Referenced Files
F3361832: D12918.diff
Sun, Nov 24, 7:40 PM
Unknown Object (File)
Wed, Nov 6, 11:03 PM
Unknown Object (File)
Wed, Nov 6, 11:03 PM
Unknown Object (File)
Wed, Nov 6, 11:02 PM
Unknown Object (File)
Wed, Nov 6, 10:19 PM
Unknown Object (File)
Sat, Nov 2, 5:02 AM
Unknown Object (File)
Sat, Nov 2, 5:02 AM
Unknown Object (File)
Sat, Nov 2, 5:01 AM
Subscribers

Details

Summary

From DeleteUser identity RPCs, call Tunnelbroker to delete data for all user's device IDs.

Test Plan

Test plan from D12917. Replaced manual Tunnelbroker RPC call with Identity DeleteUser RPC.

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.Jul 29 2024, 7:17 AM
bartek added inline comments.
services/identity/src/database.rs
541–545 ↗(On Diff #42900)

We could theoretically retrieve device IDs from deleted data in delete requests, but that would complicate the code too much, so I decided to simply call this before deletion attempt.

This revision is now accepted and ready to land.Jul 30 2024, 4:24 AM