p7-projekt / api-backend

Backend API
MIT License
0 stars 0 forks source link

[FEATURE] - Deletion of anonymous users and expired sessions #27

Closed JMyrtue closed 2 weeks ago

JMyrtue commented 1 month ago

Reference Issues

No response

Summary

Once a session is expired or terminated it should be terminated, along with all the students associated with it.

This entails the instances removed from the database.

Unresolved questions

No response

Definition of Done

When the session instance, along with the associated students and solved instances are removed from the database.

KristianS93 commented 2 weeks ago

This will be solved in collaboration with #19

KristianS93 commented 2 weeks ago

Deletion of session only delete anon_users it does not delete the actual user, or the user_role entries. nb. when doing it straight from the database.