Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export users #3662

Open
pgwillia opened this issue Dec 17, 2024 · 1 comment
Open

Export users #3662

pgwillia opened this issue Dec 17, 2024 · 1 comment

Comments

@pgwillia
Copy link
Member

https://wiki.lyrasis.org/display/DSDOC7x/Managing+User+Accounts
https://texasdigitallibrary.atlassian.net/wiki/spaces/DIGREP/pages/646971482/Users+Groups+and+Roles

Q: How to migrate user accounts?
A: We will have to extract and map user information based on the required DSpace information below.

User account information stored in DSpace:

  • E-mail address
  • First and last names
  • Whether the user is able to log in to the system via the Web UI, and whether they must use an X509 certificate to do so;
    • A password (encrypted), if appropriate
    • A list of collections for which the e-person wishes to be notified of new items
    • Whether the e-person 'self-registered' with the system; that is, whether the system created the e-person record automatically as a result of the end-user independently registering with the system, as opposed to the e-person record being generated from the institution's personnel database, for example.
    • The network ID for the corresponding LDAP record, if LDAP authentication is used for this E-Person.
@pgwillia
Copy link
Member Author

This is the schema definition for the users model. This can be used to create the mapping to export the users:

  create_table "users", force: :cascade do |t|
    t.string "email", null: false
    t.string "name", null: false
    t.boolean "admin", default: false, null: false
    t.integer "sign_in_count", default: 0, null: false
    t.datetime "last_sign_in_at"
    t.string "last_sign_in_ip"
    t.datetime "created_at", null: false
    t.datetime "updated_at", null: false
    t.boolean "suspended", default: false, null: false
    t.datetime "previous_sign_in_at"
    t.string "previous_sign_in_ip"
    t.datetime "last_seen_at"
    t.string "last_seen_ip"
    t.string "api_key_digest"
    t.boolean "system", default: false, null: false
    t.index ["email"], name: "index_users_on_email", unique: true
  end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants