[3.0] Attributes for change logging (#5763)

* remove Entity directory from excludes, so autoregistration works
* do not register services for interfaces
* move tax class to invoice namespace
* exclude a few classes from service container
* flag SensitiveParameter to prevent logging
* flag SensitiveProperty to prevent logging
* flag Loggable entities for auditing
This commit is contained in:
Kevin Papst
2026-01-11 11:41:34 +01:00
committed by GitHub
parent 162acf37a8
commit f295d6e30e
21 changed files with 68 additions and 29 deletions

View File

@@ -9,6 +9,7 @@
namespace App\Entity;
use App\Audit\Loggable;
use App\Repository\ConfigurationRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
@@ -20,6 +21,7 @@ use Symfony\Component\Validator\Constraints as Assert;
#[ORM\Entity(repositoryClass: ConfigurationRepository::class)]
#[ORM\ChangeTrackingPolicy('DEFERRED_EXPLICIT')]
#[UniqueEntity('name')]
#[Loggable(title: 'menu.system_configuration')]
class Configuration
{
#[ORM\Id]