Page MenuHomePhabricator

[identity] Stop adding devices to users table
ClosedPublic

Authored by bartek on Jan 18 2024, 3:58 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 30, 1:07 PM
Unknown Object (File)
Fri, Jun 28, 7:52 AM
Unknown Object (File)
Wed, Jun 26, 3:03 AM
Unknown Object (File)
Tue, Jun 25, 3:19 PM
Unknown Object (File)
Tue, Jun 25, 11:49 AM
Unknown Object (File)
Tue, Jun 25, 11:49 AM
Unknown Object (File)
Tue, Jun 25, 11:49 AM
Unknown Object (File)
Tue, Jun 25, 11:49 AM
Subscribers

Details

Summary

Part of ENG-5842.

Removed code that adds devices to the users table. This is no longer needed since we add devices to the devices table now.

Test Plan
  • Identity integration tests
  • Manually registered a device and used awslocal dynamodb scan --table-name identity-users to verify that the device was not added to the users table.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.

Change diff order to make Commtest CI pass

bartek published this revision for review.Jan 18 2024, 8:07 AM
bartek added inline comments.
services/identity/src/database.rs
297–303 ↗(On Diff #35786)

Previously, this was called in add_device_to_users_table() which is now deleted

This revision is now accepted and ready to land.Jan 18 2024, 2:10 PM