Browse Source
Merge pull request #10169 from abpframework/maliming-patch-1
Add `ImpersonatorUserId` and `ImpersonatorTenantId` to `AuditLogInfo`
pull/10170/head
İsmail ÇAĞDAŞ
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
6 additions and
6 deletions
-
framework/src/Volo.Abp.Auditing/Volo/Abp/Auditing/AuditingHelper.cs
-
modules/cms-kit/test/Volo.CmsKit.TestBase/CmsKitFakeCurrentUser.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 |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
@ -32,22 +32,22 @@ namespace Volo.CmsKit |
|
|
|
|
|
|
|
public Claim FindClaim(string claimType) |
|
|
|
{ |
|
|
|
throw new NotImplementedException(); |
|
|
|
return null; |
|
|
|
} |
|
|
|
|
|
|
|
public Claim[] FindClaims(string claimType) |
|
|
|
{ |
|
|
|
throw new NotImplementedException(); |
|
|
|
return null; |
|
|
|
} |
|
|
|
|
|
|
|
public Claim[] GetAllClaims() |
|
|
|
{ |
|
|
|
throw new NotImplementedException(); |
|
|
|
return null; |
|
|
|
} |
|
|
|
|
|
|
|
public bool IsInRole(string roleName) |
|
|
|
{ |
|
|
|
throw new NotImplementedException(); |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|