Audit logs
Logging entity changes in Kimai
Find out who changed what and when: record and visualize the changes on timesheets, customers, projects, activities, users, system configurations and invoices.
Features
A global audit-trail page, listing all recorded changes with username, change datetime, item type and link to detail page.
Actions for each of the following items:
- Timesheets
- Customers
- Projects
- Activities
- Invoices
Introduces a new screen for each of the above items, with all recorded changes and each log entry containing the following information:
- username
- date-time
- type of change (create, update, delete)
- changed fields (see list below)
The change history will be recorded for the following fields:
- Timesheet:
begin,end,duration,timezone,user,activity,project,description,rate,fixedRate,hourlyRate,exported,billable,internalRate,category,modifiedAt - Customer:
name,number,comment,visible,company,contact,address,country,currency,phone,fax,mobile,email,homepage,timezone,fixedRate,color,budget,timeBudget,vatId - Project:
customer,name,orderNumber,comment,visible,budget,fixedRate,hourlyRate,color,budget,timeBudget,start,end,timezone - Activity:
project,name,comment,visible,fixedRate,hourlyRate,color,budget,timeBudget - User:
username,email,enabled’,roles,alias,title,avatar,password_requested_at,auth,registration_date - System configuration:
name,value - Invoice:
customer,user,invoiceNumber,createdAt,timezone,total,tax,currency,status,dueDays,vat,invoiceFilename
Be aware:
- This bundle needs to be installed and activated to keep track of the change history, previous changes are not available.
- Not all entities and fields will be recorded, please read the above list carefully.
- The “Audit logs” link is not available under “My timsheets” to prevent potential information leaks.
- Certain batch updates (e.g. setting the
exportedflag of multiple timesheets during export) cannot be recorded, as those are executed directly via database
Usage
When logged in as SUPER_ADMIN, you will now see the overview page at /en/audit/ and the items audit log screens
in the “action” dropdown menus of the above items.
Please note: own timesheet via audit_own_timesheet are only available in the All times page, audit logs cannot be accessed via My times.
Permissions
| Name | Description |
|---|---|
audit_logs |
Grant access to the Audit logs page with all entries at Administration > Audit logs |
audit_customer |
see all changes for customers |
audit_project |
see all changes for projects |
audit_activity |
see all changes for activities |
audit_user |
see all changes for users |
audit_configuration |
see all changes for system configurations |
audit_invoice |
see all changes for invoices |
audit_own_timesheet |
see all changes for own timesheet records |
audit_other_timesheet |
see all changes in other users timesheet records (only via team timesheets) |
By default, these are assigned to each user with the role ROLE_SUPER_ADMIN.
Read how to assign these permissions to your user roles in the permission documentation.