abp icon indicating copy to clipboard operation
abp copied to clipboard

Disable setting audit properties of entities for a scope

Open hikalkan opened this issue 2 years ago • 1 comments

We may implement ambient context pattern with a service (like IAuditPropertyOptionScope) that we use to create scopes and sets the options to enable/disable setting audit properties (CreationTime, CreatorId, LastModifierId, LastModificationTime, etc...).

Related to https://github.com/abpframework/abp/issues/3992

Implementation note: AuditPropertySetter class may internally check the options, so we manage it in a central place.

hikalkan avatar Sep 03 '23 18:09 hikalkan

hi @hikalkan,

Is there any news regarding this topic? We found ourselves needing something like this in our project.

Thanks

developerMCSI avatar May 24 '24 13:05 developerMCSI