User ValidateCanDelete switched to checking all references from only event log

This commit is contained in:
2021-11-10 23:50:36 +00:00
parent 2b4546e7e5
commit ac9f44f255

View File

@@ -379,17 +379,6 @@ todo: 3 Schedule form reporting?
todo: 1`don't log user logins in INFO level, move down to debug or trace
however, *do* maybe insert it into the event log as a special event, I think there is a case here or in rockfish for that
it fills the server log with useless info
This should be a configurable global or ops setting perhaps so that the event log isn't filled up without their consent so default off
todo: 1 Just realized the event log in future could be cleaned / deleted but it's relied upon for ref. integrity when attempting to delete a User
so User should actually look into all the tables that refer to it before deletion starting with most common I guess to short circuit.
Shit, it will be a lot but it's going to be necessary
todo: 1 Test with expired key, can superuser login and no one else?? **CRITICAL**
todo: 1 erase database is way too fucking slow
it needs to work fast every time due to migrators testing etc