Updated DatabaseClient::get_keys_for_user to get device keys from devices table and fallback to users table if they're missing.
This code can be greatly simplified once we remove "legacy" devices attribute from users table.
Depends on D10302
Paths
| Differential D10303 Authored by bartek on Dec 12 2023, 1:03 AM.
Details Summary Updated DatabaseClient::get_keys_for_user to get device keys from devices table and fallback to users table if they're missing. This code can be greatly simplified once we remove "legacy" devices attribute from users table. Depends on D10302 Test Plan
Diff Detail
Event Timelinebartek held this revision as a draft. Herald added subscribers: tomek, ashoat. · View Herald TranscriptDec 12 2023, 1:03 AM2023-12-12 01:03:32 (UTC-8) Harbormaster completed remote builds in B24974: Diff 34512.Dec 12 2023, 1:57 AM2023-12-12 01:57:53 (UTC-8) This revision is now accepted and ready to land.Dec 19 2023, 8:39 PM2023-12-19 20:39:19 (UTC-8)
Harbormaster completed remote builds in B25260: Diff 34893.Dec 21 2023, 3:01 AM2023-12-21 03:01:31 (UTC-8) bartek added a parent revision: D10221: [identity] Add devices to the new list after login and register.Jan 5 2024, 12:54 AM2024-01-05 00:54:43 (UTC-8) bartek removed a parent revision: D10221: [identity] Add devices to the new list after login and register. Closed by commit rCOMM6b1d03f8fa40: [identity] Augment get_keys_for_user to use devices table (authored by bartek). · Explain WhyJan 15 2024, 6:53 AM2024-01-15 06:53:42 (UTC-8) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 34893 services/identity/src/database.rs
services/identity/src/database/device_list.rs
|