[midPoint-git] [Evolveum/midpoint] 5ca1da: Remove assignment triple usage in approvals

mederly noreply at github.com
Fri Oct 29 14:23:22 CEST 2021


  Branch: refs/heads/support-4.0
  Home:   https://github.com/Evolveum/midpoint
  Commit: 5ca1da3608a074efe49aa0c70c123eae105d3085
      https://github.com/Evolveum/midpoint/commit/5ca1da3608a074efe49aa0c70c123eae105d3085
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-10-29 (Fri, 29 Oct 2021)

  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/AbstractWfTest.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/assignments/TestAssignmentsAdvanced.java
    A model/workflow-impl/src/test/resources/assignments-advanced/role-being-disabled-with-approval.xml
    R model/workflow-impl/src/test/resources/assignments-advanced/user-approver-of-role-being-disabled.xml
    A model/workflow-impl/src/test/resources/assignments-advanced/user-approver-of-role-being-enabled-and-disabled.xml
    R model/workflow-impl/src/test/resources/assignments-advanced/user-approver-of-role-being-enabled.xml
    A model/workflow-impl/src/test/resources/assignments-advanced/user-holder-of-role-being-disabled-with-approval.xml

  Log Message:
  -----------
  Remove assignment triple usage in approvals

There were still a couple of places where we used assignment position
in the delta set triple (plus, minus, zero) to control the approval
process. All of them are now replaced by real change of the assignment:
creation, deletion, or modification.

This should resolve MID-7317.

(cherry picked from commit 5b5f80b6f6e604e447ce64cef8b61b8abb2169f7)




More information about the midPoint-svn mailing list