SURFscz / SBS

Samenwerking Beheer Systeem ↣ Collaboration Management System
Apache License 2.0
3 stars 2 forks source link

As an admin user, I want invitations that expired X days ago to be removed, to have a clearer view in the members table #1426

Open FlorisFokkinga opened 1 month ago

FlorisFokkinga commented 1 month ago

Make the cron job use an environment variable nbr_days_remove_expired_invitations from the config to determine which invitations to remove. Also don't remove API created invitations, but mark them expired. In the same Cron job remove those after nbr_days_remove_api_expired_invitations variable.