Project

General

Profile

Actions

Defect #3398

closed

Assignment of automatic roles fails for users with roles assigned to accounts

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

Status:
Closed
Priority:
High
Assignee:
Peter Štrunc
Category:
Automatic roles
Target version:
Start date:
06/19/2023
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:
Peter Štrunc

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)

Actions #1

Updated by Peter Štrunc over 1 year ago

  • Status changed from New to In Progress
  • Target version set to 13.0.6
Actions #2

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?

Actions #3

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 :-)

Actions #4

Updated by Peter Štrunc over 1 year ago

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

Merged

Actions #5

Updated by Peter Štrunc about 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF