Project

General

Profile

Actions

Task #1065

closed

Link to entity in virt. system tasks (for deleted AccAccount)

Added by Vladimír Kotýnek almost 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Vít Švanda
Category:
Virtual systems
Target version:
Start date:
04/09/2018
Due date:
% Done:

100%

Estimated time:
8.00 h
Owner:

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

delete_request_detail.png (50.6 KB) delete_request_detail.png Alena Peterová, 05/27/2021 07:43 AM
delete_request.png (37.8 KB) delete_request.png Alena Peterová, 05/27/2021 07:43 AM
vs_user.png (18.8 KB) vs_user.png Alena Peterová, 05/27/2021 07:47 AM
Actions #1

Updated by Vít Švanda almost 6 years ago

This is a little complicated because VsAccount can be a different entity than identity.

Actions #2

Updated by Vladimír Kotýnek almost 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.

Actions #3

Updated by Vít Švanda almost 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).

Actions #4

Updated by Alena Peterová almost 3 years ago

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.

Actions #5

Updated by Vít Švanda almost 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.

Actions #6

Updated by Alena Peterová almost 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.

Actions #7

Updated by Vít Švanda almost 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.

Actions #8

Updated by Vít Švanda over 2 years ago

  • Estimated time set to 8.00 h
Actions #9

Updated by Vít Švanda over 2 years ago

  • Status changed from New to In Progress
Actions #10

Updated by Vít Švanda over 2 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

Actions #11

Updated by Ondrej Husník over 2 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.

Actions #12

Updated by Radek Tomiška over 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF