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
F3387051: D12918.diff
Fri, Nov 29, 7:25 AM
Unknown Object (File)
Mon, Nov 25, 11:30 PM
Unknown Object (File)
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
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
No Lint Coverage
Unit
No Test Coverage

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

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