[midPoint-git] [Evolveum/midpoint] 9c8ab0: Fix previewing auto-assigned roles with approvals

mederly noreply at github.com
Tue Jan 21 17:47:54 CET 2025


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 9c8ab03069d548536c0b846eb7ea6c0d57222570
      https://github.com/Evolveum/midpoint/commit/9c8ab03069d548536c0b846eb7ea6c0d57222570
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/policy/AssignmentPolicyAspectPart.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/assignments/TestAssignmentApprovalGlobal.java
    A model/workflow-impl/src/test/resources/assignments/role-auto-assigned.xml
    M model/workflow-impl/src/test/resources/assignments/system-configuration-global.xml

  Log Message:
  -----------
  Fix previewing auto-assigned roles with approvals

When previewing operation, during which a role was auto-assigned, and
that role got some approval rules, an IllegalStateException used to
occur. This is now fixed - by looking to all secondary deltas, not just
the current one, in AssignmentPolicyAspectPart#factorOutAssignmentValue.

This resolves MID-10345 (along with the related fix in prism).



To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications


More information about the midPoint-svn mailing list