[midPoint-git] [Evolveum/midpoint] a04eb7: Remove unnecessary call to get read constraints
Andrej
noreply at github.com
Wed Jan 8 16:19:38 CET 2025
Branch: refs/heads/bugfix/4.8/10204
Home: https://github.com/Evolveum/midpoint
Commit: a04eb7c254a5814f70e51897905fbffb6c21d35c
https://github.com/Evolveum/midpoint/commit/a04eb7c254a5814f70e51897905fbffb6c21d35c
Author: Andrej Zan <andrej.zan at evolveum.com>
Date: 2025-01-08 (Wed, 08 Jan 2025)
Changed paths:
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/SchemaTransformer.java
Log Message:
-----------
Remove unnecessary call to get read constraints
**What**
Read constraints needed for securing "eveluated assignments" are
"calculated" from the focus object. Same constraints are also needed to
securing the focus itself. Before this change, constraints were
"calculated" two times with the same focus object. Now it's calculated
only once.
**Why**
Even though this version is a bit less "clean" (maybe subjective), the
benefit is in reducing excesive logging, which is generated by the
constraints "calculation".
(cherry picked from commit abb4b22ab616f6c85fd47dcd97a22a96b3d08aca)
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