Skip to content

Vie privée : distinguer les candidatures archivées des candidatures et utilisateurs anonymisés [GEN-2512] - #6255

Merged
vincentporte merged 3 commits into
masterfrom
vp/desambiguate_archive
Jun 5, 2025
Merged

vincentporte merged 3 commits into
masterfrom
vp/desambiguate_archive

Conversation

@vincentporte

@vincentporte vincentporte commented Jun 3, 2025 •

Copy link
Copy Markdown

🤔 Pourquoi ?

Réduire l'ambiguité

🍰 Comment ?

  1. renommage des modèles ArchivedX en AnonymizedX
  2. renommage des champs archived_at en anonymized_at
  3. Ajout ou mise à jour des verbose name, ajout des méthodes __str__ sur les modèles

🚀 Déploiement

🔴 avant de fusionner cette PR, mettre en pause la commande notify_archive_users 🔴
🔴 ajouter SUSPEND_NOTIFY_ARCHIVE_USERS=True dans les variables d'env 🔴

@vincentporte vincentporte self-assigned this Jun 3, 2025
@vincentporte vincentporte added the modifié Modifié dans le changelog. label Jun 3, 2025
@vincentporte
vincentporte requested a review from tonial June 3, 2025 13:39

@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.

Vu que tu peux mettre en pause l'anonymisation des données, est-ce que tu ne peux pas aussi renommer les modèles au passage ?

@vincentporte
vincentporte force-pushed the vp/desambiguate_archive branch 2 times, most recently from 501286b to b9657f1 Compare June 3, 2025 14:39
@vincentporte
vincentporte requested a review from tonial June 3, 2025 14:41
@vincentporte vincentporte changed the title Vie privée : distinguer les candidatures archivées des candidatures et utilisateurs anonymisés Vie privée : distinguer les candidatures archivées des candidatures et utilisateurs anonymisés [GEN-2512] Jun 3, 2025
@notion-workspace

notion-workspace Bot commented Jun 3, 2025 •

Copy link
Copy Markdown

@vincentporte
vincentporte requested a review from xavfernandez June 5, 2025 07:35

@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.

J'ai l'impression que la migration 5 et la 6 pourraient être une seule migration

@vincentporte
vincentporte force-pushed the vp/desambiguate_archive branch from b9657f1 to 4c56f5e Compare June 5, 2025 08:22
vincent porte added 3 commits June 5, 2025 11:26
Use Anonymized as prefix instead of Archived in models name
archived_at already exists in JobApplication model which could be confusing.
Anonymised application is deleted from JobApplication. But archived application
is just a new state in JobApplication
Reduce ambiguity between the Archive app, its archive_jobseeker and archive_job_applications (etc ...)
and job_applications with an archived state. The former are anonymous, not accessible to users.
The latter are hidden in dedicated views.
@vincentporte
vincentporte force-pushed the vp/desambiguate_archive branch from 4c56f5e to 9c0f9c8 Compare June 5, 2025 09:26
@vincentporte
vincentporte added this pull request to the merge queue Jun 5, 2025
Merged via the queue into master with commit 5220a60 Jun 5, 2025
@vincentporte
vincentporte deleted the vp/desambiguate_archive branch June 5, 2025 11:31
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.

2 participants