microl44 / Julet

Website visualizing data from my watched movies, brought forward by the jul.
3 stars 1 forks source link

Add a logging system to the database #71

Closed microl44 closed 1 year ago

microl44 commented 1 year ago

Currently there's no way to know who makes what changes. Currently we're all using the three available users (root, admin and user) however there's no way of knowing who makes what changes on the live server. When adding more specific users, it will become necessary to log who makes what changes (example, who deletes all records in the middle of me testing stuff).

Add basic log-functionality when adding stuff to the database and when deleting stuff from the database. If you're feeling fancy you can also log the local time when the user logs in and the local time the user logs out.

Remember, big brother will be watching (once you've completed this issue).

Incase Behrad is reading this: LOGGING, not LOG-IN

microl44 commented 1 year ago

Should be put on hold until token authentication system is in place.

microl44 commented 1 year ago

Fuck it #78 implemented it anyways. Better fix the consent form before we're sued.