Repository navigation
Vie privée : anonymiser les PASS annulés, sans notification - #6553
Merged
Merged
Conversation
vincentporte
force-pushed
the
vp/GEN-2615_anonymize_cancelled_approval
branch
from
July 17, 2025 10:27
3188724 to
ad8df37
Compare
vincentporte
marked this pull request as ready for review
July 17, 2025 10:29
tonial
reviewed
Jul 17, 2025
vincentporte
force-pushed
the
vp/GEN-2615_anonymize_cancelled_approval
branch
3 times, most recently
from
July 17, 2025 15:31
fa273e2 to
b06629a
Compare
vincentporte
commented
Jul 18, 2025
| DAYS_OF_GRACE = 30 | ||
| GRACE_PERIOD = datetime.timedelta(days=DAYS_OF_GRACE) | ||
| DAYS_OF_INACTIVITY = 365 * 2 - DAYS_OF_GRACE | ||
| EXPIRATION_DAYS = 365 * 2 |
Contributor
There was a problem hiding this comment.
On pourrait a priori se passer de tous ces entiers et ne garder que des timedelta.
Author
There was a problem hiding this comment.
Ça peut se réfléchir dans une PR future, j'utilise les jours dans les factory, ie JobSeekerFactory(joined_days_ago=DAYS_OF_INACTIVITY, for_snapshot=True).
vincentporte
changed the base branch from
master
to
vp/GEN-2481_archive_jobseeker_with_old_approval
July 21, 2025 15:52
vincentporte
force-pushed
the
vp/GEN-2615_anonymize_cancelled_approval
branch
from
July 21, 2025 16:12
b06629a to
1aa8bba
Compare
vincentporte
force-pushed
the
vp/GEN-2481_archive_jobseeker_with_old_approval
branch
from
July 21, 2025 16:21
12fbe5e to
51b36d8
Compare
vincentporte
force-pushed
the
vp/GEN-2615_anonymize_cancelled_approval
branch
from
July 21, 2025 16:47
1aa8bba to
273eab4
Compare
vincentporte
force-pushed
the
vp/GEN-2481_archive_jobseeker_with_old_approval
branch
from
July 22, 2025 04:58
51b36d8 to
bbfdb0a
Compare
vincentporte
force-pushed
the
vp/GEN-2615_anonymize_cancelled_approval
branch
from
July 22, 2025 04:59
273eab4 to
f28a482
Compare
vincentporte
force-pushed
the
vp/GEN-2481_archive_jobseeker_with_old_approval
branch
from
July 24, 2025 13:02
bbfdb0a to
634995b
Compare
Author
|
ajouter un test sur la valeur de |
vincentporte
force-pushed
the
vp/GEN-2481_archive_jobseeker_with_old_approval
branch
from
July 24, 2025 13:06
634995b to
27d4d12
Compare
Base automatically changed from
vp/GEN-2481_archive_jobseeker_with_old_approval
to
master
July 24, 2025 13:26
vincentporte
force-pushed
the
vp/GEN-2615_anonymize_cancelled_approval
branch
from
July 24, 2025 14:02
f28a482 to
317efd1
Compare
vincentporte
force-pushed
the
vp/GEN-2615_anonymize_cancelled_approval
branch
from
July 24, 2025 14:57
317efd1 to
20310d1
Compare
added 3 commits
July 24, 2025 17:14
Store non-personnal datas on CancelledApproval for long time stats purposes
CancelledApproval model has no FK. Its anonymization does not require to send email, so we can delete all expired ones at once, without managing batch size nor notification before anonymization.
vincentporte
force-pushed
the
vp/GEN-2615_anonymize_cancelled_approval
branch
from
July 24, 2025 15:14
20310d1 to
27a0209
Compare
vincentporte
added this pull request to the merge queue
Jul 24, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤔 Pourquoi ?
Anonymiser les données personnelles contenues dans les
CancelledApproval, 24 mois après sa date de fin (end_at)🍰 Comment ?
AnonymizedCancelledApprovalanonymize_cancelled_approvalsPRE-REQUIS #6182