[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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user