From 2f7d885f5994db10a1c7c77008f0cfa30c23ff7a Mon Sep 17 00:00:00 2001 From: maliming Date: Fri, 1 Nov 2024 10:23:27 +0800 Subject: [PATCH] Update abp-8-3.md --- .../release-info/migration-guides/abp-8-3.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/en/release-info/migration-guides/abp-8-3.md b/docs/en/release-info/migration-guides/abp-8-3.md index 50a7f274a4..6c07f7b338 100644 --- a/docs/en/release-info/migration-guides/abp-8-3.md +++ b/docs/en/release-info/migration-guides/abp-8-3.md @@ -53,6 +53,24 @@ See the PR for more info: https://github.com/abpframework/abp/pull/19340 We wish to formally inform you that ABP version 8.3 has been upgraded to incorporate Angular version 18. Consequently, we recommend migrating your application to [Angular v18](https://angular.dev/update-guide) to ensure compatibility. +#### Tenant impersonation & User impersonation + +Add the `impersonation: { userImpersonation: true, tenantImpersonation: true}` object to the `oAuthConfig` of the environment if it does not exit. + +``` +export const environment = { + //Other props.. + oAuthConfig: { + //Other props.. + impersonation: { + userImpersonation: true, + tenantImpersonation: true, + }, + }, +``` + +See https://abp.io/docs/latest/modules/account/impersonation#angular + ## PRO > Please check the **Open-Source (Framework)** section before reading this section. The listed topics might affect your application and you might need to take care of them.