e-valuation / EvaP

a university course evaluation system written in Python using Django
Other
95 stars 146 forks source link

Delete participations of long inactive users #2176

Open janno42 opened 2 months ago

janno42 commented 2 months ago

When performing a bulk update of users, the participations of long inactive users should be deleted. Long inactive users are users who are inactive (or can_be_marked_inactive_by_manager) after the bulk update, and where the last vote_end_date of the user's participations is more than a certain number of months ago. This number should be configurable in the settings as PARTICIPATION_DELETION_AFTER_INACTIVE_MONTHS, with 18 as default.

The bulk update test message should list all users whose participations will be deleted, along with their participation counts.