diff --git a/docs/en/Community-Articles/2023-05-03-Authority-Delegation-In-ABP-Commerical/POST.md b/docs/en/Community-Articles/2023-05-03-Authority-Delegation-In-ABP-Commerical/POST.md new file mode 100644 index 0000000000..58a5fd4b81 --- /dev/null +++ b/docs/en/Community-Articles/2023-05-03-Authority-Delegation-In-ABP-Commerical/POST.md @@ -0,0 +1,36 @@ +# Authority Delegation In ABP Commereical + +In this post I'll explain a new feature from ABP Commercial 7.2.0: **Authority Delegation**. + +## Authority Delegation + +Authority Delegation is a way of delegating the responsibility of the current user to a different user(s) for a limited time. Thus, a user can be switched to the delegated user's account and perform actions on their behalf. + +> This feature is part of the [Account Pro module](https://commercial.abp.io/modules/Volo.Account.Pro), which is one of the application modules of [ABP Commercial](https://commercial.abp.io/). + +### Delegating a new user + +After logging into the application, you can see the `Authority Delegation` menu item under the user menu. When you click the menu, a modal will open and in the first tab of the modal, you will be seeing the list of delegated users. + +![delegated-users](images/delegated-users.jpg) + +You can click the `Delegate New User` button to delegate a new user: + +![delegate-new-user](images/delegate-new-user.jpg) + +* You can specify a time range to ensure the delegation is only available within the time range. +* You can make multiple delegates to the same user and set different delegate time ranges. + +> The delegation has three states: `Expired`, `Active`, and `Future`. These states are set automatically by checking the specified time interval. + +### My delegated users + +A list of users who delegated me to login on behalf of them can be seen in the figure: + +![my-delegated-users](images/my-delegated-users.jpg) + +You can click the `Login` button to login to the application as a delegated user and go back to your account by clicking on the `Back to my account` icon. + +![delegated-impersonate](images/delegated-impersonate.jpg) + +> The **Authority Delegation** feature uses the [impersonation system](https://docs.abp.io/en/commercial/latest/modules/account/impersonation) internally. diff --git a/docs/en/Community-Articles/2023-05-03-Authority-Delegation-In-ABP-Commerical/images/delegate-new-user.jpg b/docs/en/Community-Articles/2023-05-03-Authority-Delegation-In-ABP-Commerical/images/delegate-new-user.jpg new file mode 100644 index 0000000000..b52d624a08 Binary files /dev/null and b/docs/en/Community-Articles/2023-05-03-Authority-Delegation-In-ABP-Commerical/images/delegate-new-user.jpg differ diff --git a/docs/en/Community-Articles/2023-05-03-Authority-Delegation-In-ABP-Commerical/images/delegated-impersonate.jpg b/docs/en/Community-Articles/2023-05-03-Authority-Delegation-In-ABP-Commerical/images/delegated-impersonate.jpg new file mode 100644 index 0000000000..7847516886 Binary files /dev/null and b/docs/en/Community-Articles/2023-05-03-Authority-Delegation-In-ABP-Commerical/images/delegated-impersonate.jpg differ diff --git a/docs/en/Community-Articles/2023-05-03-Authority-Delegation-In-ABP-Commerical/images/delegated-users.jpg b/docs/en/Community-Articles/2023-05-03-Authority-Delegation-In-ABP-Commerical/images/delegated-users.jpg new file mode 100644 index 0000000000..a95fafe17d Binary files /dev/null and b/docs/en/Community-Articles/2023-05-03-Authority-Delegation-In-ABP-Commerical/images/delegated-users.jpg differ diff --git a/docs/en/Community-Articles/2023-05-03-Authority-Delegation-In-ABP-Commerical/images/my-delegated-users.jpg b/docs/en/Community-Articles/2023-05-03-Authority-Delegation-In-ABP-Commerical/images/my-delegated-users.jpg new file mode 100644 index 0000000000..c94f228bd9 Binary files /dev/null and b/docs/en/Community-Articles/2023-05-03-Authority-Delegation-In-ABP-Commerical/images/my-delegated-users.jpg differ