Browse Source

Merge pull request #16473 from abpframework/liangshiwei/authority-delegation

Authority Delegation In ABP Commereical community article
pull/16482/head
Engincan VESKE 3 years ago
committed by GitHub
parent
commit
ea85bb97b9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 36
      docs/en/Community-Articles/2023-05-03-Authority-Delegation-In-ABP-Commerical/POST.md
  2. BIN
      docs/en/Community-Articles/2023-05-03-Authority-Delegation-In-ABP-Commerical/images/delegate-new-user.jpg
  3. BIN
      docs/en/Community-Articles/2023-05-03-Authority-Delegation-In-ABP-Commerical/images/delegated-impersonate.jpg
  4. BIN
      docs/en/Community-Articles/2023-05-03-Authority-Delegation-In-ABP-Commerical/images/delegated-users.jpg
  5. BIN
      docs/en/Community-Articles/2023-05-03-Authority-Delegation-In-ABP-Commerical/images/my-delegated-users.jpg

36
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.

BIN
docs/en/Community-Articles/2023-05-03-Authority-Delegation-In-ABP-Commerical/images/delegate-new-user.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

BIN
docs/en/Community-Articles/2023-05-03-Authority-Delegation-In-ABP-Commerical/images/delegated-impersonate.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 335 KiB

BIN
docs/en/Community-Articles/2023-05-03-Authority-Delegation-In-ABP-Commerical/images/delegated-users.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 KiB

BIN
docs/en/Community-Articles/2023-05-03-Authority-Delegation-In-ABP-Commerical/images/my-delegated-users.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 KiB

Loading…
Cancel
Save