core-geonetwork icon indicating copy to clipboard operation
core-geonetwork copied to clipboard

Audit user changes

Open josegar74 opened this issue 8 months ago • 0 comments

This change request allows to audit the changes the users information, using Hibernate Envers.

The feature is disabled by default and can be enabled in the system settings:

setting

Once enabled, changes to users are audited and can be consulted by administrators in the users form or the users access report:

user-changes

The feature can be extended to support additional types of entities like Groups.


Initially the pull request used Javers, but due to an incompatible version of picocontainer, used also in Geotools, has been changed to Hibernate Envers.

Checklist

  • [X] I have read the contribution guidelines
  • [X] Pull request provided for main branch, backports managed with label
  • [ ] Good housekeeping of code, cleaning up comments, tests, and documentation
  • [X] Clean commit history broken into understandable chucks, avoiding big commits with hundreds of files, cautious of reformatting and whitespace changes
  • [X] Clean commit messages, longer verbose messages are encouraged
  • [ ] API Changes are identified in commit messages
  • [ ] Testing provided for features or enhancements using automatic tests
  • [ ] User documentation provided for new features or enhancements in manual
  • [ ] Build documentation provided for development instructions in README.md files
  • [ ] Library management using pom.xml dependency management. Update build documentation with intended library use and library tutorials or documentation

josegar74 avatar Jun 03 '24 15:06 josegar74