Skip to content

Commit

Permalink
Forgotten fix (MID-4355).
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Dec 20, 2017
1 parent cd935df commit 425a585
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -516,7 +516,7 @@ public <F extends FocusType> void addGlobalPolicyRulesToAssignments(LensContext<
continue;
}
EvaluatedPolicyRule evaluatedRule = new EvaluatedPolicyRuleImpl(globalPolicyRule, target.getAssignmentPath().clone(), prismContext);
boolean direct = target.isDirectlyAssigned() || target.getAssignmentPath().getFirstOrderChain().size() == 1;
boolean direct = target.isDirectlyAssigned();
if (direct) {
evaluatedAssignment.addThisTargetPolicyRule(evaluatedRule);
} else {
Expand Down

0 comments on commit 425a585

Please sign in to comment.