Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Sith Sith
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 14
    • Issues 14
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Nous avons migré vers GitHub ! Vous trouverez les différents projets ici : https://github.com/ae-utbm

Le GitLab Fermera ses portes le 1er octobre 2022. Veillez à sauvegarder vos répertoires !!

  • AE UTBM
  • SithSith
  • Merge requests
  • !297

Draft: feat: allow user deletion

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Théo | Ailé requested to merge aile/user_deletion into master Mar 23, 2022
  • Overview 3
  • Commits 0
  • Pipelines 1
  • Changes 0

Create user deletion command and delete properly users from Sith.

This is the first step to delete very old users, users who ask to be deleted, and spam accounts. This may be the first step towards a more RGPD friendly Sith.

To avoid database corruption, there will be two cases :

  1. Accounts created by bots (low interaction with only forum, and no accounting for example). These ones will be completely deleted.
  2. "Real accounts", which have purchases and a lot of interactions. These ones will be deactivated, and all their data will be deleted, including :
  • Forum posts
  • SAS tags
  • Accounting
  • Pedagogy Comments
  • Post reports

The only data that will remain would be the primary key

⚠️ To do before merge :

  • Ensure deleted users does not appear in research index
  • Ensure deleted users does not have a profile page
  • Ensure deleted users cannot buy or be charged from any product
  • Make sure this feature does not affect accounting

Feel free to discuss about this 😄

Edited Mar 24, 2022 by Théo | Ailé
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: aile/user_deletion