EasyAuditBundle icon indicating copy to clipboard operation
EasyAuditBundle copied to clipboard

AuditLog::setUser()- proper way use User object instead of property

Open DangerLifter opened this issue 8 years ago • 1 comments

DangerLifter avatar Feb 19 '18 06:02 DangerLifter

No, That will not be a proper way for various reasons.

  1. AuditLog Should not have foreignKey reference with any entity
  2. AuditLog is not only for use with ORM
  3. The user property is configurable through a configuration option to allow user the choice to store username/fullName/id whichever suits the needs

Thanks

ronisaha avatar Mar 06 '18 05:03 ronisaha