Task #1065
closedLink to entity in virt. system tasks (for deleted AccAccount)
100%
Description
In a detail of s virtual system task there should be a link to the entity to which the account is (or should be in future) linked to.
Files
Updated by Vít Švanda over 6 years ago
This is a little complicated because VsAccount can be a different entity than identity.
Updated by Vladimír Kotýnek over 6 years ago
- Subject changed from Link to identity in virt. system tasks to Link to entity in virt. system tasks
- Description updated (diff)
OK, I changed identity to entity so I hope it's not complicated any more.
Updated by Vít Švanda over 6 years ago
This is even more complicated because VsAccount contains a UID not a UUID entity (as well VsAccount does not have an entity type information now).
Updated by Alena Peterová over 3 years ago
- File delete_request_detail.png delete_request_detail.png added
- File delete_request.png delete_request.png added
- File vs_user.png vs_user.png added
In version 11.0, the link to the entity is in the field "Owner of the account". However, it's empty for the delete requests.
The entity still exists, it's Left. I can see that its VsAccount still exists, until we resolve the VS request.
Please add the "Owner of the account" link to the Delete requests as well, at least if the identity still exists.
This was asked by our customer.
Updated by Vít Švanda over 3 years ago
This will be complicated, because in this case is relation between identity and system already deleted in ACC module (AccAccount, AccIdentityAccount). This is the reason, why owner is not show on request detail now. Only way how could be this implemented is using audit for search an owner.
Updated by Alena Peterová over 3 years ago
Maybe adding a new link to VsAccount to the VsRequest? I guess that could help also with the feature #1550 (which would be nice as well). I noticed that the mail notification about deleting the virtual account contains the attributes.
Updated by Vít Švanda over 3 years ago
- Subject changed from Link to entity in virt. system tasks to Link to entity in virt. system tasks (for deleted AccAccount)
- Target version set to 11.2.0
May be here is easier way. VsRequest has already relation on a IdmRoleRequest, where applicant should be owner. There can be problem, because not every VsRequest have to be created from a IdmRoleRequest (update of an entity), but delete should be realized every time by IdmRoleRequest. So role request could be used for show owner (this will be means additional search for every item in the table).
Current workaround for get owner is: Use key (last column on VsRequest table) for redirect on the role request detail.
Updated by Vít Švanda over 3 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Vít Švanda to Ondrej Husník
- % Done changed from 0 to 90
I completed this. I use relation on a role-request and loding applicant from them. Applicant is in this case owner of a vs-request. This usecase should work for every delete identity-account (all deletion should use role-request).
I also implemented test for this UC.
Commit: https://github.com/bcvsolutions/CzechIdMng/commit/fb9e42399e20f25458193d2a25f38af687476d01
Commit test: https://github.com/bcvsolutions/CzechIdMng/commit/b42293c6321f8a97087b15087004df20965ae85d
Updated by Ondrej Husník over 3 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Ondrej Husník to Vít Švanda
- % Done changed from 90 to 100
Great UX improvement.
Updated by Radek Tomiška about 3 years ago
- Status changed from Resolved to Closed