[midPoint-git] [Evolveum/midpoint] 8d2318: Fix maxAssignees evaluator and TestPolicyRules
mederly
noreply at github.com
Tue Oct 22 22:40:33 CEST 2024
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: 8d23183c50249e1d59e73ba7dc20aaac9948908e
https://github.com/Evolveum/midpoint/commit/8d23183c50249e1d59e73ba7dc20aaac9948908e
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-10-22 (Tue, 22 Oct 2024)
Changed paths:
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/ObjectPolicyRulesEvaluator.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/TestPolicyRules.java
M model/model-intest/src/test/resources/rbac/policy-rules/333-classification-information-security-responsibility.xml
M model/model-intest/src/test/resources/rbac/policy-rules/role-friendly-introvert.xml
Log Message:
-----------
Fix maxAssignees evaluator and TestPolicyRules
1. MultiplicityConstraintEvaluator contained a bug regarding
maxAssignees evaluation (wrong comparison operator).
2. TestPolicyRules was fixed:
a) there were some issues with the policy rules in objects involved,
like missing markRef, "record" policy action, and especially
evaluationTarget default was not appropriate. Some of these should
be fixed in midPoint code later, see e.g. MID-9929.
b) Temporarily unused marks were removed from the policy object.
c) Role recomputation had to be added.
3. Logging for rules evaluation was slightly improved.
This should resolve MID-9869, at least for now.
Commit: a77b3dfc436993ce25db0b2fee452cad7c0c27d7
https://github.com/Evolveum/midpoint/commit/a77b3dfc436993ce25db0b2fee452cad7c0c27d7
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-10-22 (Tue, 22 Oct 2024)
Changed paths:
M docs/misc/bulk/index.adoc
M repo/system-init/src/main/resources/initial-objects/role/042-role-reviewer.xml
Log Message:
-----------
Merge remote-tracking branch 'origin/master'
Compare: https://github.com/Evolveum/midpoint/compare/ec887b910f09...a77b3dfc4369
To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications
More information about the midPoint-svn
mailing list