You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Problem: We issue some change requests by a middleware and the user of that middleware is always "internal" so every audit entry has the blame_user "internal", but the actual user is given by the property "updatedBy".
My Suggestion: Inject the $entity in the UserProviderInterface::__invoke() method or, to keep backward compatibility, add a second interface like EntityAwareUserProviderInterface with said signature, so that I can check the entity for the updatedBy property/method and build by User
The text was updated successfully, but these errors were encountered:
My Problem: We issue some change requests by a middleware and the user of that middleware is always "internal" so every audit entry has the
blame_user
"internal", but the actual user is given by the property "updatedBy".My Suggestion: Inject the
$entity
in theUserProviderInterface::__invoke()
method or, to keep backward compatibility, add a second interface likeEntityAwareUserProviderInterface
with said signature, so that I can check the entity for theupdatedBy
property/method and build by UserThe text was updated successfully, but these errors were encountered: