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

Audit module (Change Tracking) #3879

Merged
merged 3 commits into from Dec 22, 2023
Merged

Conversation

litvinovg
Copy link
Collaborator

@litvinovg litvinovg commented May 19, 2023

VIVO GitHub issue 1
VIVO GitHub issue 2

Vitro PR

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

vivo-project/Vitro#369
vivo-project/Vitro#81

Interested parties

@chenejac @brianjlowe

Copy link
Contributor

@chenejac chenejac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@litvinovg well done. No complaints for the VIVO part of this PR.

@chenejac
Copy link
Contributor

I have created a wiki page for documenting usage of the audit module - https://wiki.lyrasis.org/display/VIVODOC115x/The+VIVO+audit+module

@chenejac chenejac requested review from wwelling and removed request for brianjlowe November 16, 2023 16:01
Copy link
Contributor

@milospp milospp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job on the functionality implementation!

@chenejac chenejac merged commit d13a84b into vivo-project:main Dec 22, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants