<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#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 moz-do-not-send="true"
href="https://jira.evolveum.com/browse/MID-4663">https://jira.evolveum.com/browse/MID-4663</a>.</p>
<p><br>
</p>
<p>Best regards,<br>
</p>
<pre class="moz-signature" cols="72">Pavol Mederly
Software developer
evolveum.com
</pre>
<div class="moz-cite-prefix">On 16.05.2018 7:54, Sylvaire kevin TIPA
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:HE1PR0902MB19610D64C3390787748A3B42C1920@HE1PR0902MB1961.eurprd09.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;"
dir="ltr">
<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="OWAAutoLink" id="LPlnk892131" previewremoved="true"
moz-do-not-send="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="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"
cellspacing="0" cellpadding="0" width="100%" 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 class="EmojiInsert"
src="cid:part3.67DCF051.DA64AA01@evolveum.com"><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" moz-do-not-send="true">www.thalesgroup.com</a><br>
</span>
</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 <a class="moz-txt-link-rfc2396E" href="mailto:midpoint-bounces@lists.evolveum.com"><midpoint-bounces@lists.evolveum.com></a> de la
part de Sylvaire kevin TIPA
<a class="moz-txt-link-rfc2396E" href="mailto:sylvaire-kevin.tipa@mythalesgroup.io"><sylvaire-kevin.tipa@mythalesgroup.io></a><br>
<b>Envoyé :</b> mercredi 16 mai 2018 00:11:26<br>
<b>À :</b> <a class="moz-txt-link-abbreviated" href="mailto:midpoint@lists.evolveum.com">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_divtagdefaultwrapper" dir="ltr"
style="font-size:12pt; color:#000000;
font-family:Calibri,Helvetica,sans-serif">
<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_Signature">
<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">
<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"
cellspacing="0" cellpadding="0" width="100%" 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 class="x_EmojiInsert"
src="cid:part5.86037552.1D8AEF22@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"
moz-do-not-send="true">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="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
</body>
</html>