-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Questionnaire: option to auto-delete responses after X time #590
base: MOODLE_404_STABLE
Are you sure you want to change the base?
Questionnaire: option to auto-delete responses after X time #590
Conversation
I'm not sure I agree with this change. If I'm understanding correctly, it will delete responses automatically in the background if they are older than a specified time? What is the use case for this? |
6253d1a
to
3309603
Compare
This issue needs to describe what it is for, and how it provides the solution. Use cases / user stories would be helpful. |
I will accept this if a global questionnaire setting is added to enable/disable this new function. It should be defaulted to disabled, requiring any site to turn it on before it takes affect. |
I will update and get back to you soon. Thanks |
And one more requirement, sorry. Any specific questionnaire should be able to prevent it's responses from being deleted automatically. That is, if the automatic deletion is enabled for questionnaire globally, then any questionnaire can have a setting that prevents this. And, existing questionnaires should have that disabled by default to protect them. |
I have just updated the commit based on the @mchurchward's requirement, please review again. Thanks |
For the purpose of having a GDPR-friendly feature (disabled by default) for the Questionnaire, we are suggesting this pull request. The approach and purpose are potentially similar to the ticket for Quiz activity, MDL-69854, which you can refer to for details.
For easy visualization, here’s what we are proposing:
At the bottom of the current list for the Questionnaire setting, we are adding a new option called "Manage old responses." With this option, the system will automatically delete student responses after a specified amount of time has passed (including both partial and submitted attempts).
Depending on the value selected by the user, within the corresponding time frame, the system will automatically remove discussions if they haven't had any new replies for a certain length of time.
This helps free up memory by removing outdated data, potentially improving system performance slightly, while also reducing the amount of stored data to mitigate GDPR risks.