Skip to content

Conversation

amcsz
Copy link
Member

@amcsz amcsz commented Sep 11, 2025

Closes #1815

Proposed changes

  • Add feature to archive users
    • There is a new field in the user model called "user_archived"
    • The field is_active will return false is user_archived is true
  • Added management command to archive users based on JSON file
    • Wrote testcases for this
  • Added Django admin command to archive users
    • Also wrote testcases for this

Brief description of rationale

@amcsz amcsz requested a review from a team as a code owner September 11, 2025 02:43
@amcsz
Copy link
Member Author

amcsz commented Sep 11, 2025

this is also a really rough draft, changes will probably be needed to made later to make sure archived users don't show up in search

@coveralls
Copy link

Coverage Status

coverage: 79.537% (+0.1%) from 79.398%
when pulling d48b9c5 on amcsz:dev
into aacf793 on tjcsl:dev.

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

Successfully merging this pull request may close these issues.

User archival feature
2 participants