Skip to content

Vie privée : réduire les possibilités de désanonymisation - #6573

Merged
vincentporte merged 2 commits into
masterfrom
vp/archive_remove_anonymized_at
Jul 24, 2025
Merged

vincentporte merged 2 commits into
masterfrom
vp/archive_remove_anonymized_at

Conversation

@vincentporte

@vincentporte vincentporte commented Jul 21, 2025

Copy link
Copy Markdown

🤔 Pourquoi ?

L'utilisation du timestamp anonymized_at permet de relier les données anonymisées dans un même batch, donc de reconstruire des liens entre ces objets pouvant conduire à l'identification des personnes.

🍰 Comment ?

  • valorisation par défaut de anonymized_at avec l'année et le mois de la création de l'objet
  • mise en place d'une clé primaire par défaut de type uuid dans les modèles de l'application archive

@vincentporte vincentporte self-assigned this Jul 21, 2025
@vincentporte vincentporte added the modifié Modifié dans le changelog. label Jul 21, 2025
Comment thread itou/archive/models.py
Comment thread itou/archive/models.py
Comment thread itou/archive/models.py
@vincentporte
vincentporte force-pushed the vp/archive_remove_anonymized_at branch 3 times, most recently from 08f42ab to eaf1082 Compare July 21, 2025 15:36
Comment thread itou/archive/models.py Outdated
Comment thread itou/archive/models.py Outdated
Comment thread itou/archive/models.py
@vincentporte
vincentporte force-pushed the vp/archive_remove_anonymized_at branch from eaf1082 to 6c14162 Compare July 21, 2025 16:15
@vincentporte

Copy link
Copy Markdown
Author

ajouter la migration de anonymized_at des enregistrements existants

@vincentporte
vincentporte force-pushed the vp/archive_remove_anonymized_at branch from cbad595 to 8acfd9e Compare July 22, 2025 04:53
@vincentporte

Copy link
Copy Markdown
Author

ajouter la migration de anonymized_at des enregistrements existants

migration mise à jour

Comment thread tests/archive/tests_models.py Outdated

@tonial tonial left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rien à ajouté par rapport à xavier :)

vincent porte added 2 commits July 24, 2025 11:38
Set anonymized_at to default year-month, to avoid linking objects based on timestamp
Set pk to default uuid, to avoid linking objects on sequential ids
Add string representation on AnonymizedProfessional
@vincentporte
vincentporte force-pushed the vp/archive_remove_anonymized_at branch from 8acfd9e to a90503d Compare July 24, 2025 09:39
@vincentporte
vincentporte enabled auto-merge July 24, 2025 09:44
@vincentporte
vincentporte disabled auto-merge July 24, 2025 09:46
@vincentporte
vincentporte added this pull request to the merge queue Jul 24, 2025
Merged via the queue into master with commit 56027fe Jul 24, 2025
@vincentporte
vincentporte deleted the vp/archive_remove_anonymized_at branch July 24, 2025 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

modifié Modifié dans le changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants