Expected Behaviour
I'm auditing the Product model currently but I just want to audit the model when a specific user makes any change, is there any way I could achieve this?
Possible Solutions
It would be great if the Developer get the control to set the particular set of userID on Model as
protected $user_ids = [1,2,3]
;
You could try listening for the auditing event, OwenIt\Auditing\Events\Auditing
, that this package fires off. You could check what you need to at that point and return false
from the listener if you want it to not do the audit.