[midPoint-git] [Evolveum/midpoint] 3887e4: Fix assignment validity determination

mederly noreply at github.com
Mon Mar 16 17:38:52 CET 2020


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 3887e4f2d1f33679f6d15cf37e9987840a8003e6
      https://github.com/Evolveum/midpoint/commit/3887e4f2d1f33679f6d15cf37e9987840a8003e6
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-03-16 (Mon, 16 Mar 2020)

  Changed paths:
    M infra/common/src/main/java/com/evolveum/midpoint/common/ActivationComputer.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ApprovalContextUtil.java
    M model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/complex/TestPolicyDrivenRoleLifecycle.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/AssignmentEvaluator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/AssignmentPathSegmentImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensUtil.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/AssignmentProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/AssignmentTripleEvaluator.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processes/common/StageComputeHelper.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/PrimaryChangeProcessor.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/policy/AssignmentPolicyAspectPart.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/policy/PolicyRuleBasedAspect.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/assignments/AbstractTestAssignmentApproval.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/assignments/TestAssignmentApprovalGlobal.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/assignments/TestAssignmentApprovalMetaroleExplicit.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/assignments/TestAssignmentApprovalPlainImplicit.java
    A model/workflow-impl/src/test/resources/assignments/user-draft.xml
    M model/workflow-impl/src/test/resources/assignments/user-lead1.xml
    M model/workflow-impl/src/test/resources/assignments/user-lead2.xml
    M model/workflow-impl/src/test/resources/assignments/user-lead3.xml

  Log Message:
  -----------
  Fix assignment validity determination

When processing assignments, the validity of any given assignment
depends on (besides the validity of the assignment itself) the lifecycle
state of the assignment source.

The original implementation referred to the lifecycle state of the
focus. This is not correct when considering the validity of higher-order
assignments. So we switched the consideration to assignment source.

This resolves MID-6114.


  Commit: d736ec7b9037adc8f6b129e4dcfba3b2f40a8ba1
      https://github.com/Evolveum/midpoint/commit/d736ec7b9037adc8f6b129e4dcfba3b2f40a8ba1
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2020-03-16 (Mon, 16 Mar 2020)

  Changed paths:
    M pom.xml
    M provisioning/ucf-impl-connid/src/test/resources/connector-ldap.xml
    M testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/AbstractLdapSynchronizationTest.java
    M testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/TestOpenDjDumber.java
    M testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/ad/AbstractAdLdapTest.java
    A testing/conntest/src/test/java/com/evolveum/midpoint/testing/conntest/ad/TestAdLdapMedusaSyncTimestamp.java
    A testing/conntest/src/test/resources/ad-ldap/resource-medusa-sync-timestamp.xml
    M testing/conntest/src/test/resources/logback-test.xml
    M testing/conntest/src/test/resources/opendj-dumber/resource.xml

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master'


Compare: https://github.com/Evolveum/midpoint/compare/d1457219b767...d736ec7b9037


More information about the midPoint-svn mailing list