Problem/Motivation

Currently there is no UI to configure what entity types and bundles should be considered to be logged. Users should be able to configure what to log with audit_log and not to log.

Proposed resolution

There are different approaches that can be taken to fix this problem:

Solution 1: The simplest approach is to require a UI or config to make this module work. Refactoring the method defined by #2863110: Add a new method to define if a Event Interpreter should react to an specific event. The problem with this approach is that can make the module slower. Some users may want to log everything and checking settings every time an entity is created/updated or deleted may not be the best approach.

Solution 2:

Whatever solution is decided, there should be a way to allow other modules to define they own settings.

Remaining tasks

  • Discuss.
  • Define some mockups for the proposed UI
  • Code.
  • Tests.

User interface changes

API changes

Data model changes

Comments

dagmar created an issue.

dmezquia’s picture

How is this going, I think it is necessary an interface that lists the changes in the entities, do you need a maintainer @attiks?, I can help in the development of the module.

dborjas’s picture

Checking like @diosbelmezqua to see if anyone could/would work on this to make this module work with a UI.
thanks