<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">
<p style="margin-top:0;margin-bottom:0">Hey, <br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">how I can cascade deletion between object?
<br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">In my case I have a org with 5 permissions roles (all have construction in resource). Permissions role have assignment to Org.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">When I delete org, the role have no way to exist. So I want to create constraint between use for create cascade deletion of role when org is deleting... And if possible, remove role assignment in user that are members
 of this role. <br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">So How I can do it ? <br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">- Hook on org with filter for deletion ? (but this need a lot of java code)</p>
<p style="margin-top:0;margin-bottom:0">- Policy rule ? with remediation ? (but I cannot find sample for it)
<br>
</p>
<p style="margin-top:0;margin-bottom:0">- Some link in resource synchronization ?
<br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Thanks <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"></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:1844e777-38d3-4953-993b-f3d04b7c7569"><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>
<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>