Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Auditing #1

Open
flwyd opened this issue Dec 20, 2012 · 0 comments
Open

Add Auditing #1

flwyd opened this issue Dec 20, 2012 · 0 comments

Comments

@flwyd
Copy link
Member

flwyd commented Dec 20, 2012

Changes to important data like people and schedules should be audited. It's probably easiest to audit all models. Write-only is fine if the audit trail is easy to read through SQL. For bonus points, a simple audit view which shows changes by a user or changes related to a person would be nice as long as it doesn't take too much effort.

https://github.com/nearinfinity/auditor and https://github.com/collectiveidea/audited are two similar gems that handle auditing. There may be others, too.
Of particular interest is the ability to associate an audit entry with a model further up the association chain. For instance, "work log 57 was deleted" isn't very helpful, but "work log 57, which was associated with person 22 was deleted" is more useful in trying to understand why someone's hours don't match what they expected. Note that the association chain in this example is work_log->participant->person.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant