Project

General

Profile

Actions

Defect #3363

closed

Copying roles from user doesn't work

Added by Alena Peterová over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
High
Assignee:
Peter Štrunc
Category:
Roles
Target version:
Start date:
05/10/2023
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:
Peter Štrunc

Description

When you request for roles and use "Add by user", select some roles, then the roles are not visible in the changes to add.
However, when you submit the request, the roles are processed (even approval process).
But in the end, the request ends with an exception and no role is assigned.

2023-05-10T19:37:04.097955+02:00[Europe/Prague]: Some concept/s role in role request [8f8f4d71-40c7-497a-b774-bd80ba16ee4f] have different applicant than [eu.bcvsolutions.idm.core.api.dto.IdmRoleRequestDto [id=1f9c61fb-7f97-4b7f-8ec0-3e19b38bab79]]!


Files

copy_from_user.png (108 KB) copy_from_user.png Alena Peterová, 05/10/2023 05:44 PM
Actions #2

Updated by Peter Štrunc over 1 year ago

  • Target version set to 13.0.6
Actions #4

Updated by Peter Štrunc over 1 year ago

  • Status changed from New to In Progress
  • Assignee set to Peter Štrunc
Actions #5

Updated by Peter Štrunc over 1 year ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Peter Štrunc to Ondřej Kopr
  • % Done changed from 0 to 80
  • Owner set to Peter Štrunc

Fixed here https://github.com/bcvsolutions/CzechIdMng/pull/395

@kopro could you check it out, please?

Actions #6

Updated by Alena Peterová over 1 year ago

  • Assignee changed from Ondřej Kopr to Peter Štrunc

Code review done and tested, it works well now, thanks.

Note: if an identity has a role assigned only directly to some account (personal other account), this role is not visible in the list of roles that you can select for copying. I think that it's not a big problem, even though it would be cleaner if you could see such roles as well. @kotynekv - what do you think?

Actions #7

Updated by Peter Štrunc over 1 year ago

  • Status changed from Needs feedback to Resolved
  • % Done changed from 80 to 100

PR merged

Actions #8

Updated by Peter Štrunc about 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF