Comments (1)
After some investigation on how to migrate users there are some things to be addressed.
- Important first thing is to investigate if is possible in SQLAlchemy to create a model by forcing the auto increment key to be one specific and if is possible to check that nothing breaks when you insert normally new records after that.
- Iterate through the list of users and clean up users that don't have valid accounts at Cern (in case we want to remove some trash data).
- In case we do that we should update the loans of these users with a custom id (e.g -1) in order to keep the loans for statistics purposes but having a way to identify these cases.
- We need to keep the postbox information of the logged in user. There are possibly 2 solutions on that. Either we extend the Cern Oauth response to give back the postbox from
/Me
endpoint and then change https://github.com/inveniosoftware/invenio-oauthclient/blob/master/invenio_oauthclient/contrib/cern.py#L196 to integrate these information inside linked accounts or as also suggested by Anne in the library to have at least a link to the phonebook which is feasible as we keep the ccid and we can compose the link. - We need to create the users in invenio keeping the same ids as in cds as these ids are referenced in the loans.
Useful Information
- The table for the circulation users is called
crcBORROWER
.
from cds-migrator-kit.
Related Issues (20)
- Emails sent to users
- Migration reports check - remaining corrections to be done
- Open access status broken on the frontsite for Journal
- test loan extension end date (was fixed recently)
- Backoffice - no alert is shown when a Librarian extends a loan where there is a pending request.
- Books: language field to clean
- ArXiv report numbers migrated in Identifiers "Report Number" and not anymore in Alternative identifiers
- Creation date and order date of an acquisition order
- Electronic items - migration comments
- Borrowing requests modifications
- Vocabularies error
- Add a question to the FAQ
- Records with tag Bookshop
- Item - migration report
- ISSN for serials
- Fil migration broken?
- E-items issues
- Problem with the loan?
- Creation of a new e-item with a file
- ebook shown as Open access but the corresponding item is no Open Access
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cds-migrator-kit.