k-int / gokb-phase1

Original GOKb repo - Moving to https://github.com/openlibraryenvironment/gokb
http://www.gokb.org
Other
11 stars 5 forks source link

Users #557

Closed jhsolomon closed 7 years ago

jhsolomon commented 7 years ago

We will need to migrate all users from Live with all of their roles and curatory groups.

User Name Display Name Email Curatory Groups Home Org Curatory Groups Roles ROLE_USER ROLE_EDITOR ROLE_ADMIN ROLE_CONTRIBUTOR ROLE_API ROLE_SUPERUSER ROLE_REFINEUSER ROLE_REFINETESTER

ianibo commented 7 years ago

Added the following wiki page that explains how to prepare a list of users in the current MySQL live environment : https://github.com/k-int/gokb-phase1/wiki/GOKb-Live-Server-Migration -- and added a script to scripts -- https://github.com/k-int/gokb-phase1/blob/dev-integration/scripts/sync_users.sh to migrate users - this should be done as the first step in the migration.

ianibo commented 7 years ago

Users should be loaded on to test now, roles not migrated yet whilst I double check that nothing odd is going on.

jhsolomon commented 7 years ago

Users are there, but not the roles: kmhill6 should be a Contributor, but on Live is a User and on Test is nothing. http://gokb.openlibraryfoundation.org/gokb/resource/show/org.gokb.cred.User%3A8 https://gokb-test.openlibraryfoundation.org/gokb/resource/show/org.gokb.cred.User%3A29357933

kmblake should have all roles activated: https://gokb-test.openlibraryfoundation.org/gokb/resource/show/org.gokb.cred.User%3A29357932 http://gokb.openlibraryfoundation.org/gokb/resource/show/org.gokb.cred.User%3A7

jhsolomon commented 7 years ago

It looks like users with multiple roles are coming over correctly. For Viewers only, there are no roles selected in Test. Will they still be able to log in?

winkler4 http://gokb.openlibraryfoundation.org/gokb/resource/show/org.gokb.cred.User%3A9 https://gokb-test.openlibraryfoundation.org/gokb/resource/show/org.gokb.cred.User%3A29357934

jhsolomon commented 7 years ago

The roles are correct, but are missing the curatory groups.

jhsolomon commented 7 years ago

The curatory groups are still missing from the user roles.

jhsolomon commented 7 years ago

Closing this issue since it is related to #547