You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if this lib provided a way to log user activity. I mean, this should be configured when install, and with every successful db actions it should save the place, the action, and the new and old data with the username, provided by some other libs, eg. PHP-Auth to a pre-defined table.
Like: INSERT schema.table new_data:qwe old_data: rty user_id 3
The text was updated successfully, but these errors were encountered:
We’re not really sure if this library here is really the right place for this. Are you referring to a log of virtually every single write operation to the database, with both old and new data stored in the log?
Right now, we tend to think that your own application code would be a better place for this, if you want to implement custom logging, or the library in question, which should probably handle this itself. In fact, for PHP-Auth, something like this (for all actions critical to a user’s account and its security) is something we have already planned.
It would be nice if this lib provided a way to log user activity. I mean, this should be configured when install, and with every successful db actions it should save the place, the action, and the new and old data with the username, provided by some other libs, eg. PHP-Auth to a pre-defined table.
Like: INSERT schema.table new_data:qwe old_data: rty user_id 3
The text was updated successfully, but these errors were encountered: