Feature #2439
closedAuthentication: Switch user
100%
Description
Implement switch user feature. Super admin can login as other user - to test and debug purpose mainly.
Related issues
Updated by Radek Tomiška over 4 years ago
- % Done changed from 50 to 80
Feature is implemented, commit:
https://github.com/bcvsolutions/CzechIdMng/commit/67b387d31aebd58301da2f0ba442cbcb60a1c2c9#diff-66bcc20d442e8d770995b2c20efa2a2fR130
TODO: Documentation.
Updated by Radek Tomiška over 4 years ago
- Related to Feature #2445: Authentication: Switch user permission added
Updated by Radek Tomiška over 4 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Radek Tomiška to Vít Švanda
- % Done changed from 80 to 90
I fixed issue with original identity usage in workflow task approval, commit:
https://github.com/bcvsolutions/CzechIdMng/commit/410a2bfd93aba88a85fcaa30cd58a541cc38b605
Documentation added:
https://wiki.czechidm.com/devel/documentation/security/dev/security#switch_user_-_login_as_other_user
Could you provide me a feedback, please?
Updated by Vít Švanda over 4 years ago
- Status changed from Needs feedback to In Progress
- Assignee changed from Vít Švanda to Radek Tomiška
I did reivew and test. Thanks for this awesome feature.
I found one problem. In the LoginService.switchUserLogout you uses originalUsername for login back to original user. In this case, but I was able rename the username of other identity to the original. This other identity was used after login on original user.
Updated by Radek Tomiška over 4 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Radek Tomiška to Vít Švanda
Thx for feedback! I fixed UC above too :), identity identifier is used now in logout method.
Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/a8875cdb1f0db9d48ee497e6f093eb053abb3cf7
Could you provide me feedback again, please?
Updated by Vít Švanda over 4 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Vít Švanda to Radek Tomiška
- % Done changed from 90 to 100
I did reivew and tested it. Thanks for that. LGTM
Updated by Radek Tomiška over 4 years ago
- Status changed from Resolved to Closed
Updated by Radek Tomiška about 4 years ago
- Related to Defect #2514: Authentication: Remote authentication cycle in FE (FE is stucked with reload) added
Updated by Radek Tomiška about 4 years ago
- Related to Defect #2566: Fill originalCreatorId and originalModifierId for assigned roles (possible loss of audit info when changing login of admin) added
Updated by Radek Tomiška about 4 years ago
- Related to Defect #2589: Fill originalModifier and originalModifierId for changed entities (possible loss of audit info when changing entities multiple times) added