Closed coudot closed 1 year ago
See also discussions in #21
Duplicate of #41
Taking a look
Hello @artlog
I would have seen an easier solution to begin: use the admin name in the logs (with error_log
-> https://www.php.net/manual/fr/function.error-log.php)
After discussions with several people, storing JSON in an audit file is a correct solution.
I will propose something slightly different that the format used in commit https://github.com/ltb-project/service-desk/commit/cec27ba65df633516347e43acdc3223df6b90d5a
Done in commits 8a36b87 and 736b5fc
For now, access to Service Desk is anonymous, even if we recommend to add authentication (Web Server or SSO).
We should be able to get the identity of connected user and log every action done.