[midPoint-git] [Evolveum/midpoint] 2faf73: Fix previewing auto-assigned roles with approvals
mederly
noreply at github.com
Tue Jan 21 17:48:35 CET 2025
Branch: refs/heads/support-4.9
Home: https://github.com/Evolveum/midpoint
Commit: 2faf738079bc9a2516be4414a979f9cc257f87aa
https://github.com/Evolveum/midpoint/commit/2faf738079bc9a2516be4414a979f9cc257f87aa
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).
(cherry picked from commit 9c8ab03069d548536c0b846eb7ea6c0d57222570)
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