<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>... and for the future, we have created this feature request:
<a class="moz-txt-link-freetext" href="https://jira.evolveum.com/browse/MID-2840">https://jira.evolveum.com/browse/MID-2840</a></p>
<p>It's waiting for funding.</p>
<p>Ivan<br>
</p>
<br>
<div class="moz-cite-prefix">On 09/05/2016 02:48 PM, Roman Pudil -
AMI Praha a.s. wrote:<br>
</div>
<blockquote
cite="mid:em2b232c39-cae4-4e6d-87dc-85c1e564fd7f@rpudil-dell7440"
type="cite">
<style>#x8d8d88b34c5d4b5e846551862e3874d7 blockquote.cite{
margin-left:5px;
margin-right:0px;
padding-left:10px;
padding-right:0px;
border-left-width:1px;
border-left-style:solid;
border-left-color:#CCC;
}
#x8d8d88b34c5d4b5e846551862e3874d7 blockquote.cite2{
margin-left:5px;
margin-right:0px;
padding-left:10px;
padding-right:0px;
border-left-width:1px;
border-left-style:solid;
border-left-color:#CCC;
margin-top:3px;
padding-top:0px;
}
#x8d8d88b34c5d4b5e846551862e3874d7 a img{
border:0px;
}
#x8d8d88b34c5d4b5e846551862e3874d7{
font-family:Tahoma;
font-size:12pt;
}blockquote.cite
{margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right: 0px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204);}
blockquote.cite2
{margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right: 0px; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); margin-top: 3px; padding-top: 0px;}
a img
{border: 0px;}
body
{font-family: Tahoma; font-size: 12pt;}
</style>
<div>Hi Daniel,</div>
<div><br>
</div>
<div>You can solve it as conditional mapping in template object.</div>
<div><br>
</div>
<div>Here is example: <span>Assign role to user only if user's
attribute named "employeeType" has "CONTRACTOR" value.</span></div>
<div><span><br>
</span></div>
<div> <mapping><br>
<strength>strong</strength><br>
<source><br>
<path>employeeType</path><br>
</source><br>
<expression><br>
<value><br>
<!--<assignment>--><br>
<targetRef oid="some-role-oid" type="c:RoleType"/><br>
<!--</assignment>--><br>
</value> <br>
</expression><br>
<target><br>
<path>assignment</path><br>
</target><br>
<condition><br>
<script><br>
<code>employeeType ==
'CONTRACTOR'</code><br>
</script><br>
</condition><br>
</mapping><br>
<br>
</div>
<div><span id="x8d8d88b34c5d4b5e846551862e3874d7">
<div background="">
<div>More examples You can find in midPoint Project in
/samples/ directory.</div>
<div><br>
</div>
</div>
</span></div>
<div>Regards</div>
<div>Roman Pudil</div>
<div><br>
</div>
<div id="signature_old">
<div style="FONT-SIZE: 12pt; FONT-FAMILY: Tahoma">
<table style="WHITE-SPACE: normal; WORD-SPACING: 0px;
BORDER-COLLAPSE: collapse; TEXT-TRANSFORM: none; COLOR:
rgb(0,0,0); FONT: medium 'Times New Roman'; WIDOWS: 1;
LETTER-SPACING: normal; TEXT-INDENT: 0px;
-webkit-text-stroke-width: 0px">
<tbody>
<tr>
<td style="FONT-SIZE: 11px; FONT-FAMILY: Arial,
sans-serif; VERTICAL-ALIGN: bottom; COLOR: rgb(0,0,0)"
colspan="2">
<p><span style="FONT-SIZE: 14px; FONT-WEIGHT: bold">Roman
Pudil</span><br>
solution architect<br>
<br>
gsm: [+420] 775 663 666<br>
e-mail:<span class="Apple-converted-space"> </span><a
moz-do-not-send="true"
href="mailto:roman.pudil@ami.cz">roman.pudil@ami.cz</a></p>
</td>
<td style="BORDER-RIGHT: rgb(204,204,204) 1px solid"> </td>
<td> </td>
<td style="FONT-SIZE: 11px; FONT-FAMILY: Arial,
sans-serif; VERTICAL-ALIGN: bottom; COLOR: rgb(0,0,0)">
<p>AMI Praha a.s.<br>
Pláničkova 11<br>
162 00 Praha 6<br>
tel./fax: [+420] 274 783 239<br>
web:<span class="Apple-converted-space"> </span><a
moz-do-not-send="true" href="http://www.ami.cz">www.ami.cz</a></p>
</td>
<td style="BORDER-RIGHT: rgb(204,204,204) 1px solid"> </td>
<td> </td>
<td style="FONT-SIZE: 11px; FONT-FAMILY: Arial,
sans-serif; COLOR: rgb(0,0,0)">
<p><img moz-do-not-send="true" title="AMI Praha a.s."
alt=""
src="http://www.ami.cz/images/podpis/ami_logo.gif"
border="0"></p>
</td>
</tr>
<tr>
<td colspan="8"><br>
<a moz-do-not-send="true"
href="http://www.ami.cz/reseni-a-sluzby/bezpecnost-dat/identity-management"><img
moz-do-not-send="true" alt=""
src="http://www.ami.cz/images/podpis/AMI-podpis-IdM_1.png"
border="0"></a></td>
</tr>
<tr>
<td style="FONT-SIZE: 11px; FONT-FAMILY: Arial,
sans-serif; COLOR: rgb(128,128,128)" colspan="8"><br>
Textem tohoto e-mailu podepisující neslibuje uzavřít
ani neuzavírá za společnost AMI Praha a.s.<br>
jakoukoliv smlouvu. Každá smlouva, pokud bude
uzavřena, musí mít výhradně písemnou formu.</td>
</tr>
</tbody>
</table>
</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>------ Původní zpráva ------</div>
<div>Od: <a moz-do-not-send="true"
href="mailto:Daniel.Sommer@itconcepts.net">Daniel.Sommer@itconcepts.net</a></div>
<div>Komu: <a moz-do-not-send="true"
href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a></div>
<div>Odesláno: 5.9.2016 14:38:56</div>
<div>Předmět: [midPoint] rule-based role assignment</div>
<div><br>
</div>
<div id="x139c7721d125400">
<blockquote
cite="OF34013494.A0FAF36D-ONC1258025.00457B93-C1258025.00457B95@itconcepts.net"
type="cite" class="cite2">
<font face="Default Sans
Serif,Verdana,Arial,Helvetica,sans-serif" size="2">
Hello community,
<div><br>
</div>
<div><br>
</div>
<div>we want to find out, whether a rule based role
assignment is possible. Currently i was not able to find
informations about it.</div>
<div>What i want for example is to assign a role<span
style="font-size: 12.8px;">
automatically </span><span style="font-size: 12.8px;">depending
on any of a users attributes</span>
<span style="font-size: 12.8px;">.</span></div>
<div><br>
</div>
<div>Thank your for your help,</div>
<div><br>
</div>
<div>Daniel</div>
</font>
<p><span style="font-family: Arial;"><span style="color:
rgb(153, 153, 153);">Daniel Sommer <br>
Office: +49 228 908733 0 </span></span><span
style="font-family: Arial;"><span style="color: rgb(153,
153, 153);">| </span></span><span style="font-family:
Arial;"><span style="color: rgb(153, 153, 153);">Fax: +49
228 908733 1</span></span><span style="font-family:
Arial;"><span style="color: rgb(153, 153, 153);"> | Mobil:
+49 176 162086 79</span></span></p>
<p><span style="font-family: Arial;"><span style="color:
rgb(153, 153, 153);">ITConcepts Professional GmbH - In
den Dauen 6 - DE 53117 Bonn</span></span></p>
<p><span style="font-family: Arial;"><span style="color:
rgb(153, 153, 153);">Website </span></span><span
style="color: rgb(153, 153, 153);"><a
moz-do-not-send="true" href="http://www.itconcepts.net"><span
style="font-family: Arial;">www.itconcepts.net</span></a><br>
<br>
<a moz-do-not-send="true"
href="http://www.itconcepts.net/"><img
src="cid:part9.BE6C233A.2ADC56ED@evolveum.com" alt=""
border="0"></a> <a moz-do-not-send="true"
href="http://www.itconcepts.net/index.php/about-cognitum"><img
src="cid:part11.D6E0A121.65E6357B@evolveum.com" alt=""
border="0"></a><br>
Besuchen Sie uns auch auf <a moz-do-not-send="true"
href="http://www.xing.com/companies/itconceptsprofessionalgmbh/updates"><img
src="cid:part13.C1AB2B87.A22DAD69@evolveum.com" alt=""
border="0"></a> <a moz-do-not-send="true"
href="http://www.linkedin.com/company/itconcepts"><img
src="cid:part15.959F2022.1B25DE87@evolveum.com" alt=""
border="0"></a></span></p>
<p><span style="font-size: 12px;"><span style="color: rgb(169,
169, 169);">Events mit ITConcepts<br>
10.-12. Oktober: SailPoint Navigate in Berlin. Mehr
Infos </span><a moz-do-not-send="true"
href="http://www.itconcepts.de/index.php/veranstaltungen/details/86-sailpoint-navigate"><span
style="color: rgb(169, 169, 169);">hier</span></a><span
style="color: rgb(169, 169, 169);">.<br>
13. Oktober: Ping IDENTIFY in Frankfurt. <font
face="Arial"><font face="Arial"><font face="Arial">Mehr
Infos </font></font></font></span><a
moz-do-not-send="true"
href="http://www.itconcepts.de/index.php/veranstaltungen/details/89-ping-identify"><span
style="color: rgb(169, 169, 169);"><font face="Arial"><font
face="Arial"><font face="Arial">hier</font></font></font></span></a><span
style="color: rgb(169, 169, 169);"><font face="Arial"><font
face="Arial"><font face="Arial">.</font></font></font><br>
17. Oktober: <font face="Arial"><font face="Arial"><font
face="Arial">Internationaler Automobil Kongress in
Wolfsburg. Mehr Infos </font></font></font></span><a
moz-do-not-send="true"
href="http://www.itconcepts.de/index.php/veranstaltungen/details/88-internationaler-automobil-kongress"><span
style="color: rgb(169, 169, 169);"><font face="Arial"><font
face="Arial"><font face="Arial">hier</font></font></font></span></a><span
style="color: rgb(169, 169, 169);"><font face="Arial"><font
face="Arial"><font face="Arial">.</font></font></font><br>
18.- 20. Oktober: it-sa, IT Security Messe in Nürnberg,
Mehr Infos </span><a moz-do-not-send="true"
href="http://www.itconcepts.de/index.php/veranstaltungen/details/84-it-sa-2016"><span
style="color: rgb(169, 169, 169);">hier</span></a><span
style="color: rgb(169, 169, 169);">.<br>
18.- 20. Oktober: IZB in Wolfsburg, <font face="Arial"><font
face="Arial"><font face="Arial">Mehr Infos </font></font></font></span><a
moz-do-not-send="true"
href="http://www.itconcepts.de/index.php/veranstaltungen/details/87-izb-internationale-zuliefererboerse"><span
style="color: rgb(169, 169, 169);"><font face="Arial"><font
face="Arial"><font face="Arial">hier</font></font></font></span></a><span
style="color: rgb(169, 169, 169);">.<br>
16.- 17. November: BMC Exchange in Mainz .<font
face="Arial"><font face="Arial"><font face="Arial">Mehr
Infos </font></font></font></span><a
moz-do-not-send="true"
href="http://www.itconcepts.de/index.php/veranstaltungen/details/53-bmc-exchange-2016"><span
style="color: rgb(169, 169, 169);"><font face="Arial"><font
face="Arial"><font face="Arial">hier</font></font></font></span></a><span
style="color: rgb(169, 169, 169);"><font face="Arial"><font
face="Arial"><font face="Arial">.</font></font></font></span></span></p>
<p><span style="color: rgb(169, 169, 169);"><span
style="font-family: Arial;"><span style="font-size:
small;">Trainings von ITConcepts</span></span><br>
17. -21. Oktober: Öffentliches Training Dell One Identity
Manager 6.x - Basisschulung (</span><a
moz-do-not-send="true"
href="http://tp://www.itconcepts.de/index.php/iam/dell-one-identity-manager-basisschulung"><span
style="color: rgb(0, 0, 255);">Kursinhalt</span></a><span
style="color: rgb(169, 169, 169);">)</span><br>
<br>
<span style="font-size: x-small;"><span style="font-family:
Arial;"><span style="color: rgb(153, 153, 153);">ITConcepts
Professional GmbH Gf.: Sven Moog, Sitz Bonn, AG Bonn
HRB 12947 - Ust-Id Nr: DE211482933<br>
ITConcepts Automotive GmbH Gf.: Sven Moog, Sitz
Wolfsburg, AG Braunschweig HRB 204188 - Ust-Id Nr:
DE223888748<br>
ITConcepts Operations GmbH Gf.: Sven Moog, Sitz Bonn,
AG Bonn HRB 15454 - St.-Nr: 205/5726/0602</span></span></span></p>
<p><span style="font-size: x-small;"><span style="font-family:
Arial;"><span style="color: rgb(153, 153, 153);">Diese
E-Mail enthält vertrauliche und/oder rechtlich
geschützte Informationen. Wenn Sie nicht der richtige
Adressat sind<br>
oder diese E-Mail irrtümlich erhalten haben,
informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail.<br>
Das unerlaubte Kopieren sowie die unbefugte Weitergabe
dieser E-Mail sind nicht gestattet.</span></span></span></p>
<p><span style="font-size: x-small;"><span style="font-family:
Arial;"><span style="color: rgb(153, 153, 153);">This
e-mail may contain confidential and/or privileged
information. If you are not the intended recipient<br>
(or have received this e-mail in error) please notify
the sender immediately and destroy this e-mail.</span><br>
<span style="color: rgb(153, 153, 153);">Any
unauthorised copying, disclosure or distribution of
the material in this e-mail is strictly forbidden.</span></span></span></p>
</blockquote>
</div>
<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>
<pre class="moz-signature" cols="72">--
Ivan Noris
Senior Identity Engineer
evolveum.com
</pre>
</body>
</html>