Defect #3398
closedAssignment of automatic roles fails for users with roles assigned to accounts
100%
Description
If a user has a role assigned directly to an account, then all attempts to assign any automatic role to the user fails with:
2023-06-19T19:25:27.677023+02:00[Europe/Prague]: class eu.bcvsolutions.idm.acc.dto.AccAccountRoleAssignmentDto cannot be cast to class eu.bcvsolutions.idm.core.api.dto.IdmIdentityRoleDto (eu.bcvsolutions.idm.acc.dto.AccAccountRoleAssignmentDto and eu.bcvsolutions.idm.core.api.dto.IdmIdentityRoleDto are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @54e22bdd)
Updated by Peter Štrunc over 1 year ago
- Status changed from New to In Progress
- Target version set to 13.0.6
Updated by Peter Štrunc over 1 year ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Peter Štrunc to Alena Peterová
- % Done changed from 0 to 80
- Owner set to Peter Štrunc
Fixed here https://github.com/bcvsolutions/CzechIdMng/pull/402
@apeterova could you check it out, please?
Updated by Alena Peterová over 1 year ago
- Assignee changed from Alena Peterová to Peter Štrunc
It works correctly now and the code looks good, thanks.
I approved the pull request, but I'm not authorized to merge it - please do it yourself :-)
Updated by Peter Štrunc over 1 year ago
- Status changed from Needs feedback to Resolved
- % Done changed from 80 to 100
Merged