<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<div id="divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Oh ! So good to help you :D <br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Just for be sure, it's all expression in filter (in
<span style="background-color:white;">Exclusion Constraint) or just some filter type like inOID ?
</span><br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<br>
<p style="margin-top:0; margin-bottom:0">Cordialement. </p>
<table class="MsoNormalTable" style="width:100.0%; border:none; border-top:solid #00BBDF 3.0pt" width="100%" cellspacing="0" cellpadding="0" border="1">
<tbody>
<tr>
<td style="border:medium none; padding:0cm; width:301px" valign="top"><br>
</td>
</tr>
</tbody>
</table>
<table class="ms-rteTable-clear" style="border-collapse:collapse; table-layout:fixed; border:1px solid transparent" cellspacing="0">
<tbody>
<tr class="ms-rteTableEvenRow-clear" style="border-collapse:collapse; border:1px solid transparent; background-color:rgba(255,255,255,0.85)">
<td class="ms-rteTableEvenCol-clear" style="border-collapse:collapse; width:208px; border:1px solid transparent">
<b><span style="background-color:rgb(255,255,255); color:rgb(0,111,201)">Sylvaire-Kevin TIPA</span></b><br>
<div><i><span style="font-size:10pt; color:rgb(117,123,128)">Thales Services / OIC INFRAS</span><br>
</i><span style="font-size:10pt; color:rgb(117,123,128)"><i>Devops Infrastructure Automation</i></span></div>
</td>
<td class="ms-rteTableOddCol-clear" colspan="1" style="border-collapse:collapse; width:23px; border:1px solid transparent">
<br>
</td>
<td class="ms-rteTableEvenCol-clear" style="border-collapse:collapse; width:188px; border:1px solid transparent" align="right">
<img naturalheight="22" naturalwidth="174" class="EmojiInsert" src="cid:be0cd124-7e89-4222-bb4d-d90e00e37760"><br>
</td>
</tr>
<tr class="ms-rteTableOddRow-clear" style="border-collapse:collapse; border:1px solid transparent; background-color:rgba(255,255,255,0.85)">
<td class="ms-rteTableEvenCol-clear" style="border-collapse:collapse; border:1px solid transparent">
<br>
</td>
<td class="ms-rteTableOddCol-clear" colspan="1" style="border-collapse:collapse; border:1px solid transparent">
<br>
</td>
<td class="ms-rteTableEvenCol-clear" style="border-collapse:collapse; border:1px solid transparent">
<br>
</td>
</tr>
<tr class="ms-rteTableEvenRow-clear" style="border-collapse:collapse; border:1px solid transparent; background-color:rgba(255,255,255,0.85)">
<td class="ms-rteTableEvenCol-clear" style="border-collapse:collapse; border:1px solid transparent">
<div><span style="color:rgb(117,123,128)">THALES SERVICES SAS</span><br>
<span style="color:rgb(117,123,128)">44 Quai Charles de Gaulle</span><br>
<span style="color:rgb(117,123,128)">CS 20100</span><br>
<span style="color:rgb(117,123,128)">69463 Lyon Cedex 06</span></div>
</td>
<td class="ms-rteTableOddCol-clear" colspan="1" style="border-collapse:collapse; border:1px solid transparent">
<br>
</td>
<td class="ms-rteTableEvenCol-clear" style="border-collapse:collapse; border:1px solid transparent">
<br>
</td>
</tr>
</tbody>
</table>
<span style="font-size:8pt; color:rgb(117,123,128)">--------------------------------------------------<br>
<a href="http://www.thalesgroup.com" class="OWAAutoLink" id="LPNoLP">www.thalesgroup.com</a><br>
</span><i></i>
<p></p>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>De :</b> midPoint <midpoint-bounces@lists.evolveum.com> de la part de Pavol Mederly <mederly@evolveum.com><br>
<b>Envoyé :</b> mercredi 16 mai 2018 10:09:17<br>
<b>À :</b> midpoint@lists.evolveum.com<br>
<b>Objet :</b> Re: [midPoint] PoilcyRules prune with filter</font>
<div> </div>
</div>
<meta content="text/html; charset=Windows-1252">
<div style="background-color:#FFFFFF">
<p>Hello,</p>
<p><br>
</p>
<p>this is not a spam :) Actually, the JIRA you mentioned is not quite related to your problem.</p>
<p><br>
</p>
<p>Having looked at the source code now I see the problem is that although filters are supported in exclusion constraints, expressions in these filters are not. What is missing is the resolution of expressions somewhere at ExclusionConstraintEvaluator.java:185
(in current master).<br>
</p>
<p><br>
</p>
<p>I have created a new JIRA for that: <a href="https://jira.evolveum.com/browse/MID-4663" id="LPlnk297552" class="OWAAutoLink" previewremoved="true">
https://jira.evolveum.com/browse/MID-4663</a>.</p>
<p><br>
</p>
<p>Best regards,<br>
</p>
<pre class="x_moz-signature" cols="72">Pavol Mederly
Software developer
evolveum.com
</pre>
<div class="x_moz-cite-prefix">On 16.05.2018 7:54, Sylvaire kevin TIPA wrote:<br>
</div>
<blockquote type="cite">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p style="margin-top:0; margin-bottom:0">I forgot to say that I'm in 3.6, and I just see that a JIRA is openning on it ...
<br>
</p>
<p style="margin-top:0; margin-bottom:0"><a href="https://jira.evolveum.com/browse/MID-3966" class="x_OWAAutoLink" id="LPlnk892131" previewremoved="true">https://jira.evolveum.com/browse/MID-3966</a></p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">Sorry for the spam <br>
</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<div id="x_Signature">
<div id="x_divtagdefaultwrapper" dir="ltr" style=""><br>
<p style="margin-top:0; margin-bottom:0">Cordialement. </p>
<table class="x_MsoNormalTable" style="width:100.0%; border:none; border-top:solid #00BBDF 3.0pt" width="100%" cellspacing="0" cellpadding="0" border="1">
<tbody>
<tr>
<td style="border:medium none; padding:0cm; width:301px" valign="top"><br>
</td>
</tr>
</tbody>
</table>
<table class="x_ms-rteTable-clear" style="border-collapse:collapse; table-layout:fixed; border:1px solid transparent" cellspacing="0">
<tbody>
<tr class="x_ms-rteTableEvenRow-clear" style="border-collapse:collapse; border:1px solid
transparent; background-color:rgba(255,255,255,0.85)">
<td class="x_ms-rteTableEvenCol-clear" style="border-collapse:collapse; width:208px; border:1px solid transparent">
<b><span style="background-color:rgb(255,255,255); color:rgb(0,111,201)">Sylvaire-Kevin TIPA</span></b><br>
<div><i><span style="font-size:10pt; color:rgb(117,123,128)">Thales Services / OIC INFRAS</span><br>
</i><span style="font-size:10pt; color:rgb(117,123,128)"><i>Devops Infrastructure Automation</i></span></div>
</td>
<td class="x_ms-rteTableOddCol-clear" colspan="1" style="border-collapse:collapse; width:23px; border:1px solid transparent">
<br>
</td>
<td class="x_ms-rteTableEvenCol-clear" style="border-collapse:collapse; width:188px; border:1px solid transparent" align="right">
<img naturalheight="22" naturalwidth="174" class="x_EmojiInsert" tabindex="0" src="cid:part3.67DCF051.DA64AA01@evolveum.com"><br>
</td>
</tr>
<tr class="x_ms-rteTableOddRow-clear" style="border-collapse:collapse; border:1px solid
transparent; background-color:rgba(255,255,255,0.85)">
<td class="x_ms-rteTableEvenCol-clear" style="border-collapse:collapse; border:1px solid
transparent">
<br>
</td>
<td class="x_ms-rteTableOddCol-clear" colspan="1" style="border-collapse:collapse; border:1px solid
transparent">
<br>
</td>
<td class="x_ms-rteTableEvenCol-clear" style="border-collapse:collapse; border:1px solid
transparent">
<br>
</td>
</tr>
<tr class="x_ms-rteTableEvenRow-clear" style="border-collapse:collapse; border:1px solid
transparent; background-color:rgba(255,255,255,0.85)">
<td class="x_ms-rteTableEvenCol-clear" style="border-collapse:collapse; border:1px solid
transparent">
<div><span style="color:rgb(117,123,128)">THALES SERVICES SAS</span><br>
<span style="color:rgb(117,123,128)">44 Quai Charles de Gaulle</span><br>
<span style="color:rgb(117,123,128)">CS 20100</span><br>
<span style="color:rgb(117,123,128)">69463 Lyon Cedex 06</span></div>
</td>
<td class="x_ms-rteTableOddCol-clear" colspan="1" style="border-collapse:collapse; border:1px solid
transparent">
<br>
</td>
<td class="x_ms-rteTableEvenCol-clear" style="border-collapse:collapse; border:1px solid
transparent">
<br>
</td>
</tr>
</tbody>
</table>
<span style="font-size:8pt; color:rgb(117,123,128)">--------------------------------------------------<br>
<a href="http://www.thalesgroup.com" class="x_OWAAutoLink" id="LPNoLP">www.thalesgroup.com</a><br>
</span></div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>De :</b> midPoint
<a class="x_moz-txt-link-rfc2396E OWAAutoLink" href="mailto:midpoint-bounces@lists.evolveum.com" id="LPlnk166972" previewremoved="true">
<midpoint-bounces@lists.evolveum.com></a> de la part de Sylvaire kevin TIPA <a class="x_moz-txt-link-rfc2396E OWAAutoLink" href="mailto:sylvaire-kevin.tipa@mythalesgroup.io" id="LPlnk891274" previewremoved="true">
<sylvaire-kevin.tipa@mythalesgroup.io></a><br>
<b>Envoyé :</b> mercredi 16 mai 2018 00:11:26<br>
<b>À :</b> <a class="x_moz-txt-link-abbreviated OWAAutoLink" href="mailto:midpoint@lists.evolveum.com" id="LPlnk419760" previewremoved="true">
midpoint@lists.evolveum.com</a><br>
<b>Objet :</b> [midPoint] PoilcyRules prune with filter</font>
<div> </div>
</div>
<meta content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_x_divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p style="margin-top:0; margin-bottom:0">Hello,</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">I have something strange in my SoD metarole. I use a policyRules with prune action, when I set the target ref static (with oid) it work. But when I set it with filter, it do nothing .. some idea ?
<br>
</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">WORK : <br>
</p>
<div><inducement ><br>
<policyRule><br>
<name>Segregation for Guestt</name><br>
<policyConstraints><br>
<exclusion><br>
<b> <targetRef oid="e7eb6293-79a9-4be7-b417-21dee480c871" relation="org:default" type="c:RoleType"/></b><br>
</exclusion><br>
</policyConstraints><br>
<policyActions><br>
<prune/><br>
</policyActions><br>
</policyRule><br>
</inducement><br>
<inducement><br>
<policyRule><br>
<name>Segregation for Reporterr</name><br>
<policyConstraints><br>
<exclusion><br>
<b> <targetRef oid="1f756f93-1f46-4d66-b3df-c2f33634807b" relation="org:default" type="c:RoleType"/></b><br>
</exclusion><br>
</policyConstraints><br>
<policyActions><br>
<prune/><br>
</policyActions><br>
</policyRule><br>
</inducement></div>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">HS : <br>
</p>
<div><inducement id="1"><br>
<policyRule><br>
<name>Segregation for Guest</name><br>
<policyConstraints><br>
<exclusion><br>
<targetRef relation="org:default" type="c:RoleType"><br>
<filter><br>
<q:inOid><br>
<expression><br>
<script><br>
<code><br>
<b> return "e7eb6293-79a9-4be7-b417-21dee480c871"</b><br>
</code><br>
</script><br>
</expression><br>
</q:inOid><br>
</filter><br>
<resolutionTime>run</resolutionTime><br>
</targetRef><br>
</exclusion><br>
</policyConstraints><br>
<policyActions><br>
<prune /><br>
</policyActions><br>
</policyRule><br>
</inducement><br>
<inducement id="2"><br>
<policyRule><br>
<name>Segregation for Reporter</name><br>
<policyConstraints><br>
<exclusion><br>
<targetRef relation="org:default" type="c:RoleType"><br>
<filter><br>
<q:inOid><br>
<expression><br>
<script><br>
<code><br>
<b> return "1f756f93-1f46-4d66-b3df-c2f33634807b"</b><br>
</code><br>
</script><br>
</expression><br>
</q:inOid><br>
</filter><br>
<resolutionTime>run</resolutionTime><br>
</targetRef><br>
</exclusion><br>
</policyConstraints><br>
<policyActions><br>
<prune /><br>
</policyActions><br>
</policyRule><br>
</inducement></div>
<br>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<div id="x_x_Signature">
<div id="x_x_divtagdefaultwrapper" dir="ltr" style=""><br>
<p style="margin-top:0; margin-bottom:0">Cordialement. </p>
<table class="x_x_MsoNormalTable" style="width:100.0%; border:none; border-top:solid #00BBDF 3.0pt" width="100%" cellspacing="0" cellpadding="0" border="1">
<tbody>
<tr>
<td style="border:medium none; padding:0cm; width:301px" valign="top"><br>
</td>
</tr>
</tbody>
</table>
<table class="x_x_ms-rteTable-clear" style="border-collapse:collapse; table-layout:fixed; border:1px solid transparent" cellspacing="0">
<tbody>
<tr class="x_x_ms-rteTableEvenRow-clear" style="border-collapse:collapse; border:1px solid
transparent; background-color:rgba(255,255,255,0.85)">
<td class="x_x_ms-rteTableEvenCol-clear" style="border-collapse:collapse; width:208px; border:1px solid transparent">
<b><span style="background-color:rgb(255,255,255); color:rgb(0,111,201)">Sylvaire-Kevin TIPA</span></b><br>
<div><i><span style="font-size:10pt; color:rgb(117,123,128)">Thales Services / OIC INFRAS</span><br>
</i><span style="font-size:10pt; color:rgb(117,123,128)"><i>Devops Infrastructure Automation</i></span></div>
</td>
<td class="x_x_ms-rteTableOddCol-clear" colspan="1" style="border-collapse:collapse; width:23px; border:1px solid transparent">
<br>
</td>
<td class="x_x_ms-rteTableEvenCol-clear" style="border-collapse:collapse; width:188px; border:1px solid transparent" align="right">
<img naturalheight="22" naturalwidth="174" class="x_x_EmojiInsert" tabindex="0" src="cid:part5.86037552.1D8AEF22@evolveum.com"><br>
</td>
</tr>
<tr class="x_x_ms-rteTableOddRow-clear" style="border-collapse:collapse; border:1px solid
transparent; background-color:rgba(255,255,255,0.85)">
<td class="x_x_ms-rteTableEvenCol-clear" style="border-collapse:collapse; border:1px solid
transparent">
<br>
</td>
<td class="x_x_ms-rteTableOddCol-clear" colspan="1" style="border-collapse:collapse; border:1px solid
transparent">
<br>
</td>
<td class="x_x_ms-rteTableEvenCol-clear" style="border-collapse:collapse; border:1px solid
transparent">
<br>
</td>
</tr>
<tr class="x_x_ms-rteTableEvenRow-clear" style="border-collapse:collapse; border:1px solid
transparent; background-color:rgba(255,255,255,0.85)">
<td class="x_x_ms-rteTableEvenCol-clear" style="border-collapse:collapse; border:1px solid
transparent">
<div><span style="color:rgb(117,123,128)">THALES SERVICES SAS</span><br>
<span style="color:rgb(117,123,128)">44 Quai Charles de Gaulle</span><br>
<span style="color:rgb(117,123,128)">CS 20100</span><br>
<span style="color:rgb(117,123,128)">69463 Lyon Cedex 06</span></div>
</td>
<td class="x_x_ms-rteTableOddCol-clear" colspan="1" style="border-collapse:collapse; border:1px solid
transparent">
<br>
</td>
<td class="x_x_ms-rteTableEvenCol-clear" style="border-collapse:collapse; border:1px solid
transparent">
<br>
</td>
</tr>
</tbody>
</table>
<span style="font-size:8pt; color:rgb(117,123,128)">--------------------------------------------------<br>
<a href="http://www.thalesgroup.com" class="x_x_OWAAutoLink" id="LPNoLP">www.thalesgroup.com</a><br>
</span></div>
</div>
</div>
<p style="font-size:8pt; line-height:10pt; font-family:'Cambria','times roman',serif">
This message contains confidential information and is intended only for the individual(s) addressed in the message. If you are not the named addressee, you should not disseminate, distribute, or copy this e-mail. If you are not the intended recipient, you are
notified that disclosing, distributing, or copying this e-mail is strictly prohibited.
</p>
</div>
<p style="font-size:8pt; line-height:10pt; font-family:'Cambria','times roman',serif">
This message contains confidential information and is intended only for the individual(s) addressed in the message. If you are not the named addressee, you should not disseminate, distribute, or copy this e-mail. If you are not the intended recipient, you are
notified that disclosing, distributing, or copying this e-mail is strictly prohibited.
</p>
<br>
<fieldset class="x_mimeAttachmentHeader"></fieldset> <br>
<pre>_______________________________________________
midPoint mailing list
<a class="x_moz-txt-link-abbreviated OWAAutoLink" href="mailto:midPoint@lists.evolveum.com" id="LPlnk431993" previewremoved="true">midPoint@lists.evolveum.com</a>
<a class="x_moz-txt-link-freetext OWAAutoLink" href="http://lists.evolveum.com/mailman/listinfo/midpoint" id="LPlnk260636" previewremoved="true">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
</div>
</div>
<p style="font-size:8pt; line-height:10pt; font-family: 'Cambria','times roman',serif;">
This message contains confidential information and is intended only for the individual(s) addressed in the message. If you are not the named addressee, you should not disseminate, distribute, or copy this e-mail. If you are not the intended recipient, you are
notified that disclosing, distributing, or copying this e-mail is strictly prohibited.
</p>
</body>
</html>