Page MenuHomePhabricator

Migrate users from signup sheets to the Library Card Platform
Closed, ResolvedPublic

Description

When we switch over to using the Library Card Platform as the default application process for all partners we will also want to support and add all the existing distributed accounts. This data will be necessary if we want to be able to process renewals through the platform, and for phase two/three we will need to know who has access to what. We may also want users to be able to see a full list of the resources they have access to, which will be incomplete for many without this process.

There are a number of features that will need to be included in the platform for this to happen, which are listed as subtasks of this one.

Related Objects

StatusSubtypeAssignedTask
Resolvedjsn.sherman
ResolvedSamwalton9-WMF
ResolvedThatAndromeda
ResolvedThatAndromeda
ResolvedThatAndromeda
ResolvedThatAndromeda
DuplicateNone
Resolvedjsn.sherman
ResolvedSamwalton9-WMF
Resolvedjsn.sherman
ResolvedSamwalton9-WMF
ResolvedSamwalton9-WMF
InvalidNone
Resolvedjsn.sherman
ResolvedSamwalton9-WMF
DeclinedNone
ResolvedSamwalton9-WMF
Invalidjsn.sherman
Resolvedjsn.sherman
ResolvedSamwalton9-WMF
Resolvedjsn.sherman
Resolvedjsn.sherman
Resolvedjsn.sherman
Resolvedjsn.sherman
Declinedjsn.sherman
Resolvedjsn.sherman
Resolvedjsn.sherman
Resolvedjsn.sherman
Resolvedjsn.sherman
Resolvedjsn.sherman
Resolvedjsn.sherman
Resolvedjsn.sherman
Resolvedjsn.sherman
Resolvedjsn.sherman
Resolvedjsn.sherman
Resolvedjsn.sherman
ResolvedSamwalton9-WMF

Event Timeline

One issue we're going to face is that, with the way the platform currently works, users will need to register/log in before we can add any details on the partners they have access to. Given that we have their username data, perhaps we could upload the data pre-emptively to be linked with their account once they've registered? I don't know how feasible this is though.

You can manually create users in /admin and the login dance will work fine, *as long as you have correctly entered the data*.

You must:

  • enter data for all the bolded fields on this page.
  • set the username to the wiki language code + wiki user ID; see examples in /admin/auth/user - this bit is super important
  • NOT set the password
  • check the Active checkbox

I think at this point it's actually okay if the editor data is incorrect - it will be updated with wikipedia data whenever they log in, and TWLight can match them with the correct wikipedia account. I mean, I'm not saying make it wrong on purpose, but don't sweat it if you don't know their user groups or user rights (just enter an empty list, []).

I don't know how to get the user ID outside of OAuth, mind you.

Ocaasi_WMF renamed this task from Migrate users to the Library Card Platform to Migrate users.Nov 28 2016, 8:23 PM
Samwalton9-WMF renamed this task from Migrate users to Migrate users from signup sheets to the Library Card Platform.Mar 4 2017, 11:22 PM
Samwalton9-WMF updated the task description. (Show Details)
Samwalton9-WMF raised the priority of this task from Medium to High.Mar 10 2017, 3:39 PM
Samwalton9-WMF claimed this task.

A couple of tasks are rolling over to post-migration fixes, but otherwise this is done!