<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-ligatures:standardcontextual;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:11.0pt;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="DE" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hello together,<br>
<br>
we use personas in our deployment a lot.<br>
During our user recomputation task, every user gets recomputed, and midpoint only creates an audit record if the recompute results in any modification.<br>
Unfortunately, this does not work for the personas, so if a user gets recomputed without changes than there is no audit event but for every persona we have empty audit events.<br>
<br>
After little bit of debugging, I found out that midpoint sets “LazyAuditRequest“ in the LensContext for recomputation tasks. That prevents midpoint from creating audit events for recomputations without changes.<br>
While creating a new LensContext for the persona delta, midpoint loses this setting. I tested an overlay where the setting would be propagated to the persona LensContext. This seems to work fine, audit events only get created if there is a modification in the
persona.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><br>
For the changes I created a PR: <a href="https://github.com/Evolveum/midpoint/pull/236">https://github.com/Evolveum/midpoint/pull/236</a><br>
<br>
What do you think about this change and behavior?<br>
<br>
Kind Regards</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-ligatures:none;mso-fareast-language:DE"><o:p></o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-ligatures:none;mso-fareast-language:DE">Emil Militzer<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;mso-ligatures:none;mso-fareast-language:DE">__________________________<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;mso-ligatures:none;mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><a href="https://www.tk.de/"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:windowtext;mso-fareast-language:DE;text-decoration:none"><img border="0" width="67" height="67" style="width:.6979in;height:.6979in" id="Grafik_x0020_1" src="cid:image001.png@01DB4258.5B78A4B0" alt="signature_1916280972"></span></a><span style="font-size:8.0pt;font-family:"Arial",sans-serif;mso-ligatures:none;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;mso-ligatures:none;mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black;mso-ligatures:none;mso-fareast-language:DE">Techniker Krankenkasse</span><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black;mso-ligatures:none;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black;mso-ligatures:none;mso-fareast-language:DE">Unternehmenszentrale<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black;mso-ligatures:none;mso-fareast-language:DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black;mso-ligatures:none;mso-fareast-language:DE">Emil Militzer<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;mso-ligatures:none;mso-fareast-language:DE"><a href="mailto:emil.militzer@tk.de"><span lang="EN-US" style="color:#0563C1">emil.militzer@tk.de</span></a></span><span lang="EN-US" style="color:black;mso-ligatures:none;mso-fareast-language:DE"><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">P.S. I also created a PR for a small docs update and would be interested in your opinion:
<a href="https://github.com/Evolveum/midpoint/pull/237">https://github.com/Evolveum/midpoint/pull/237</a><o:p></o:p></span></p>
</div>
</body>
</html>