[midPoint-git] [Evolveum/midpoint] d98e85: Fix problems with dead entitlement shadows

mederly noreply at github.com
Wed Apr 27 14:12:21 CEST 2022


  Branch: refs/heads/feature/synchronization-definition-update
  Home:   https://github.com/Evolveum/midpoint
  Commit: d98e8567d5fb84b4d79777e692f835f9791064c1
      https://github.com/Evolveum/midpoint/commit/d98e8567d5fb84b4d79777e692f835f9791064c1
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-04-27 (Wed, 27 Apr 2022)

  Changed paths:
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AbstractSearchExpressionEvaluator.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AssociationTargetSearchExpressionEvaluator.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestEntitlements.java
    A model/model-intest/src/test/resources/entitlements/account-guybrush-dead.xml
    A model/model-intest/src/test/resources/entitlements/group-mapmakers-dead.xml
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowedObjectConstruction.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/manager/ShadowFinder.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/manager/ShadowManager.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/opendj/TestOpenDj.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java

  Log Message:
  -----------
  Fix problems with dead entitlement shadows

When a dead entitlement shadow exists, both associationTargetSearch
and entitlement resolution (in subject-to-object case) do not work
correctly.

This is now fixed: we explicitly reject dead shadows in those
situations.

This resolves MID-7895.




More information about the midPoint-svn mailing list