Skip to content
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

Totara purge support #81

Open
pf-aleido opened this issue Oct 14, 2024 · 1 comment
Open

Totara purge support #81

pf-aleido opened this issue Oct 14, 2024 · 1 comment

Comments

@pf-aleido
Copy link

Totara have a construct "Purge/Purge data" for configurable purging of user data (if user gets suspended or deleted).
Plugins that have database tables with user references can add support for it in Totara.
https://totara.help/docs/purge-type-settings

A suggestion is that you add support for it in your totara18 branch for purging of user references in for example the dbtable that stores information on user watch progress.

Examples on how to add support for it can be found, for example, in server/mod/facetoface/classes/userdata
And a unittest for it: server/mod/facetoface/tests/userdata_signups_test.php

@stefanscholz
Copy link
Member

stefanscholz commented Oct 14, 2024

Hi @pf-aleido , thank you for this suggestion, that does indeed make sense. We'll discuss it internally and update this issue accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants