<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
Metarole with focusMapping really should work. But it is not an
ideal solution. Especially for a long-term maintenance. The
focusMapping copies the definition to all the roles. So these
copies need to be updated after the metarole is modifed.
FocusMapping and recompute of all affected roles should work for
this, but this is not very convenient and there may be problems in
some corner cases. There is preliminary plan to improve this in
midPoint 3.6.<br>
<br>
<pre class="moz-signature" cols="72">--
Radovan Semancik
Software Architect
evolveum.com
</pre>
<br>
<br>
On 10/22/2016 01:21 PM, Aivo Kuhlberg wrote:<br>
</div>
<blockquote cite="mid:1477135284425.49768@rmit.ee" type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
<p>Hi,<br>
How do I set approverExpression or approvalSchema to many roles?
I have imported AD groups as midPoint roles and need to specify
approverExpression for all of them. Obviously I'd prefer not to
do that manually for hundreds of roles. So how to do that
automatically or is it possible to somehow set some kind of
metarole which specifies approverExpression for all of them?<br>
Thanks,<br>
Aivo Kuhlberg<br>
</p>
<br>
<hr>
<font size="2" face="Arial" color="Gray">Käesolev e-kiri võib
sisaldada asutusesiseseks kasutamiseks tunnistatud teavet.<br>
This e-mail may contain information which is classified for
official use.</font>
<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>
<br>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>