Skip to content

send notification when subject turns full age

Bengfort requested to merge full-age-notification into main
  • I decided to store full_age_notified on the Consent model so that it is automatically deleted when the consent is deleted or replaced. This way we do not end up with 50 year old subjects that still have that information.

  • To keep the code simple the two notifications (1 and 21 month after the 16th birthday) are sent independently. That means: If we forget to send the notifications for 20 months, people might get two notifications at the same time. I think that is so unlikely that it is negligible compared to the code complexity it would require.

Edited by Bengfort

Merge request reports