Browse Source
Add `ImpersonatorUserId` and `ImpersonatorTenantId` to `AuditLogInfo`
pull/10169/head
maliming
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
framework/src/Volo.Abp.Auditing/Volo/Abp/Auditing/AuditingHelper.cs
|
|
|
@ -136,8 +136,8 @@ namespace Volo.Abp.Auditing |
|
|
|
UserName = CurrentUser.UserName, |
|
|
|
ClientId = CurrentClient.Id, |
|
|
|
CorrelationId = CorrelationIdProvider.Get(), |
|
|
|
//ImpersonatorUserId = AbpSession.ImpersonatorUserId, //TODO: Impersonation system is not available yet!
|
|
|
|
//ImpersonatorTenantId = AbpSession.ImpersonatorTenantId,
|
|
|
|
ImpersonatorUserId = CurrentUser.FindImpersonatorUserId(), |
|
|
|
ImpersonatorTenantId = CurrentUser.FindImpersonatorTenantId(), |
|
|
|
ExecutionTime = Clock.Now |
|
|
|
}; |
|
|
|
|
|
|
|
|