Page MenuHomePhabricator

Have CentralAuth populate the local_user_id and global_user_id columns as new users are attached
Closed, ResolvedPublic3 Estimated Story Points

Description

Once the new fields are available in the centralauth database, we'll need to code to populate those fields as new users are created and attached to the global users.

Event Timeline

I think this would just be adding to the existing logic in CentralAuthUser::attach().

DannyH set the point value for this task to 3.Aug 9 2016, 5:58 PM

Change 309553 had a related patch set uploaded (by Niharika29):
Popular lu_local_id and lu_global_id on new user attach

https://gerrit.wikimedia.org/r/309553

I spent several hours trying to get the CentralAuth tests to run locally without throwing exceptions, but to no avail. @Niharika: Can you run them locally?

Change 309553 merged by Kaldari:
Populate lu_local_id and lu_global_id on new user attach

https://gerrit.wikimedia.org/r/309553