Defect #3363
closedCopying roles from user doesn't work
100%
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
Updated by Peter Štrunc over 1 year ago
- Status changed from New to In Progress
- Assignee set to Peter Štrunc
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?
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?
Updated by Peter Štrunc over 1 year ago
- Status changed from Needs feedback to Resolved
- % Done changed from 80 to 100
PR merged