OnTakt: Audit Log: Difference between revisions

From Knowledge Base
(Blanked the page)
Tag: Blanking
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
The audit log tracks changes made to objects in the database and records the user who made the change, when the change was made, and what was changed.


== Limitations ==
The audit log exists to make undoing accidental changes easier, and is not intended to replace regular database backups.
When undoing a deletion, dependents of the object will not be restored. For example, deleting a machine also deletes all of its programs, parts, events, etc., but restoring a machine restores only the machine itself.
Only the object types listed in [[OnTakt: Audit Log#Audited object types|audited object types]] are audited.
== Change types ==
* Created (<code>INSERT</code>): the object was added to the database. The initial state of the object is displayed as "after".
* Edited (<code>UPDATE</code>): the object was modified. A table will be displayed with a side-by-side comparison of the "before" and "after" states of the object, highlighting the differences.
* Deleted (<code>DELETE</code>): the object was deleted. The state of the object prior to deletion is displayed as "before". Learn more about the audit log of deleted objects below: [[OnTakt: Audit Log#Trash|Trash]].
== Audited object types ==
*Machines
*Parts
*Events
*Programs
*Users
*Tools
*Tool assemblies
*Inventory items
*Inventory points
*Notification channels
*Dimensions
*Maintenance items
*Maintenance entries
*Maintenance issues
== Trash ==
The trash tab of the settings window shows the last 10 audited objects that have been deleted from the database.
To view the details of an item that has been deleted, expand it by clicking the down arrow in the actions column.
To restore an item that has been deleted, click the undo button in the actions column.
== Viewing the audit log for an object ==
=== Machines ===
# Go to the machines page
# Expand the machine's card
# Click the Edit button
# Switch to the Info tab of the machine editor
# Under the Management section, click the Audit Log button
=== Parts ===
# Open the part editor (by clicking on a charted part, clicking Edit on a scrapped part listed under the production chart, etc.)
# Switch to the Manage tab
# Click the Audit Log button
=== Programs ===
# Open the Programs page
# Expand the drop-down next to a program's edit button
# Click Audit Log
=== Tools ===
# Open the Tools page
# Expand the drop-down next to a tool's replace button
# Click Audit Log
=== Tool Assemblies ===
# Open the Tool Assemblies page
# Expand the drop-down next to an assembly's history button
# Click Audit Log
[[Category:OnTakt User Guide]]
{{DEFAULTSORT:Audit_Log}}

Latest revision as of 15:33, 2 July 2024

The audit log tracks changes made to objects in the database and records the user who made the change, when the change was made, and what was changed.

Limitations

The audit log exists to make undoing accidental changes easier, and is not intended to replace regular database backups.

When undoing a deletion, dependents of the object will not be restored. For example, deleting a machine also deletes all of its programs, parts, events, etc., but restoring a machine restores only the machine itself.

Only the object types listed in audited object types are audited.

Change types

  • Created (INSERT): the object was added to the database. The initial state of the object is displayed as "after".
  • Edited (UPDATE): the object was modified. A table will be displayed with a side-by-side comparison of the "before" and "after" states of the object, highlighting the differences.
  • Deleted (DELETE): the object was deleted. The state of the object prior to deletion is displayed as "before". Learn more about the audit log of deleted objects below: Trash.

Audited object types

  • Machines
  • Parts
  • Events
  • Programs
  • Users
  • Tools
  • Tool assemblies
  • Inventory items
  • Inventory points
  • Notification channels
  • Dimensions
  • Maintenance items
  • Maintenance entries
  • Maintenance issues

Trash

The trash tab of the settings window shows the last 10 audited objects that have been deleted from the database.

To view the details of an item that has been deleted, expand it by clicking the down arrow in the actions column.

To restore an item that has been deleted, click the undo button in the actions column.

Viewing the audit log for an object

Machines

  1. Go to the machines page
  2. Expand the machine's card
  3. Click the Edit button
  4. Switch to the Info tab of the machine editor
  5. Under the Management section, click the Audit Log button

Parts

  1. Open the part editor (by clicking on a charted part, clicking Edit on a scrapped part listed under the production chart, etc.)
  2. Switch to the Manage tab
  3. Click the Audit Log button

Programs

  1. Open the Programs page
  2. Expand the drop-down next to a program's edit button
  3. Click Audit Log

Tools

  1. Open the Tools page
  2. Expand the drop-down next to a tool's replace button
  3. Click Audit Log

Tool Assemblies

  1. Open the Tool Assemblies page
  2. Expand the drop-down next to an assembly's history button
  3. Click Audit Log