Computing-For-All / nextjs-issue-tracker

Repository created to manage the UAT (User Acceptance Testing) workflow for the Next.js website. This repo will serve as a central hub for tracking issues, feedback, and improvements identified during testing phases, ensuring a smooth and efficient UAT process.
0 stars 0 forks source link

Automatically delete users flagged for deletion (& create delete user API) #74

Open rorosaurus opened 1 month ago

rorosaurus commented 1 month ago

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!)

theGaryLarson commented 1 week 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.