Page MenuHomePhabricator

Have CentralAuth populate the local_user_id and global_user_id columns as new users are attached
Closed, ResolvedPublic3 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

kaldari created this task.Aug 9 2016, 5:55 PM
kaldari moved this task from Untriaged to Bug backlog on the Community-Tech board.
kaldari moved this task from Bug backlog to Ready for development on the Community-Tech board.
bd808 added a comment.Aug 9 2016, 5:56 PM

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

kaldari closed this task as Resolved.