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

Support Legacy (Alumni) Users in User Schema #83

Open
YeIIcw opened this issue Jan 18, 2025 · 0 comments
Open

Support Legacy (Alumni) Users in User Schema #83

YeIIcw opened this issue Jan 18, 2025 · 0 comments
Assignees

Comments

@YeIIcw
Copy link

YeIIcw commented Jan 18, 2025

Description
We are the University of Toronto Machine Intelligence Team, and our website includes a project page showcasing all the projects our members (past and present) have worked on. Many alumni no longer have active accounts in our current system, but they contributed significantly to past projects and should still be featured on our site.

  • We mark alumni as legacy: true in our user schema.
  • If we later want to associate an alumnus with an existing user account, we manually set legacyClaimed: true.
  • This approach ensures we properly recognize alumni for their past work, while allowing us to link them to current users when needed.

User Story
As an admin of the University of Toronto Machine Intelligence Team website:

  1. I need the ability to create or import alumni user entries as “legacy” so their past work is recognized.
  2. I want the option to link an existing GitHub-auth’d (or otherwise authenticated) user to a legacy user.
  3. When linked, the system should mark the legacy user as claimed and handle any merges or updates to the user’s information.

Acceptance Criteria

  1. Database / Schema Updates

    • Add legacy (boolean) and legacyClaimed (boolean) fields.
    • Ensure existing non-alumni users remain with legacy: false and legacyClaimed: false by default.
  2. Linking Functionality

    • Admins can link a legacy user to an existing GitHub-auth’d user.
    • Linking sets legacyClaimed = true.
    • (Optionally) merge relevant fields (e.g., name, email, bio).
@nothing128 nothing128 assigned nothing128 and unassigned nothing128 Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants