Audit module (Change Tracking)
VIVO GitHub issue 1 VIVO GitHub issue 2
What does this pull request do?
The pull request adds a module that enables tracking of changes being made in the triple store by users and non-person entitites. Changes are recorded in a triple store, with the users ID (URI), the time, and the changes that have been made. A user interface (/audit) is also provided that, when logged in, displays the changes.
What's new?
Adds a new AuditModule application module TDBAuditModule can be configured / enabled via the applicationSetup.n3 RDFService change listener capture any changes made to the content and configuration stores, and record those changes in a dedicated audit store. Tests included
How should this be tested?
- Enable AuditModule in applicationSetup.n3 (uncomment :hasAuditModule and :tdbAuditModule section)
- Login as admin or root user, open /audit page,
- View changes presented on the page.
- Try different filters
Supersedes
https://github.com/vivo-project/Vitro/pull/369 https://github.com/vivo-project/Vitro/pull/81
Interested parties
@chenejac @brianjlowe