Yes, you need it.
If you inherit from TenantAppService
, then you don't need it.
If you still face this problem, you can share a test project. I will check it. my email is shiwei.liang@volosoft.com
Hi,
Of course. On the way: https://github.com/abpframework/abp/pull/18242
Great to head it. : )
Hi,
Because ABP uses the CurrentUser.Id as the LastModifierId
value.
You can try:
private ICurrentPrincipalAccessor _currentPrincipalAccessor;
....
var claims = new List<Claim>(){ new Claim(AbpClaimTypes.UserId,user.Id)};
using(_currentPrincipalAccessor.Change(claims))
{
_repository.UpdateAsync(..., autoSave: true)
}