Open rorosaurus opened 1 month ago
created the functions. But there isn't a process in place to run this. Need a CRON job setup on the server that will execute the delete check. Should run it quite often for testing to ensure its working. Once expected behavior is verified reset to a weekly cadence.
@runefather Will you set this up as a scheduled task that runs on the server? Please connect with me on any issues regarding the deleteUser functions.
Set up the processes/schedule to check and delete any users who have been flagged for deletion 30+ days ago.
And create an API to delete user, deleting from leaf tables first to avoid constraint errors. (This will also be handy for devs to reset their accounts for most accurate end-to-end testing!)