[midPoint-git] [Evolveum/midpoint] 00da5d: Do some cosmetic changes
mederly
noreply at github.com
Fri Sep 18 11:40:36 CEST 2020
Branch: refs/heads/tmp/mid-6268
Home: https://github.com/Evolveum/midpoint
Commit: 00da5d1fe17e052ab033118c176e40b57966a193
https://github.com/Evolveum/midpoint/commit/00da5d1fe17e052ab033118c176e40b57966a193
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2020-09-17 (Thu, 17 Sep 2020)
Changed paths:
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/trigger/TriggerScannerTaskHandler.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestTriggerTask.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractSearchIterativeTaskHandler.java
Log Message:
-----------
Do some cosmetic changes
Commit: 9af3382f28e6b21e5d52eceab5dc6dc839be9096
https://github.com/Evolveum/midpoint/commit/9af3382f28e6b21e5d52eceab5dc6dc839be9096
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2020-09-18 (Fri, 18 Sep 2020)
Changed paths:
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/PolicyRuleTypeUtil.java
M infra/util/src/main/java/com/evolveum/midpoint/util/DebugUtil.java
M model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/EvaluatedPolicyRule.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/EvaluatedPolicyRuleImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/EvaluatedAssignmentTargetImpl.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/PruningOperation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/AssignmentPolicyRuleEvaluationContext.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/PolicyRuleProcessor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/evaluators/AssignmentModificationConstraintEvaluator.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/evaluators/ExclusionConstraintEvaluator.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/evaluators/MultiplicityConstraintEvaluator.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/rbac/TestSegregationOfDuties.java
A model/model-intest/src/test/resources/rbac/sod/metarole-exclusion-application.xml
A model/model-intest/src/test/resources/rbac/sod/role-application1.xml
A model/model-intest/src/test/resources/rbac/sod/role-application2.xml
A model/model-intest/src/test/resources/rbac/sod/role-business1.xml
A model/model-intest/src/test/resources/rbac/sod/role-business2.xml
A model/model-intest/src/test/resources/rbac/sod/user-martin.xml
A model/model-intest/src/test/resources/rbac/sod/user-petr.xml
Log Message:
-----------
Fix exclusion constraint evaluation and pruning
1. Exclusion constraint evaluation did not skip targets provided
by the assignment being considered, leading to unnecessary pruning
(see MID-6268).
2. Pruning algorithm did not correctly recognize exclusion triggers
embedded in composite and/or triggers. So pruning was not always
carried out.
Compare: https://github.com/Evolveum/midpoint/compare/00da5d1fe17e%5E...9af3382f28e6
More information about the midPoint-svn
mailing list