<div dir="ltr">After some additional research I understood that the owner feature works - I can see the right shadows under user projections.<br><div>I still can't see the list of accounts under resource/accounts.</div><div>Also I tried to extend actions with "<span style="background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:"JetBrains Mono",monospace;font-size:9.8pt"><a href="http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#search">http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#search</a></span>"</div><div><br></div><div>In documentation for owner feature I can see the following:</div><div><b>LIMITATION: for search pre-processing this option is supported in a very limited way (only for TaskType.ownerRef and only for "self" owners).</b><br></div><div><b><br></b></div><div>How is this statement relevant to my case? </div><div><b><br></b></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 27 Apr 2023 at 10:21, Yakov Revyakin <<a href="mailto:yrevyakin@gmail.com">yrevyakin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div>I'd like to filter shadows whose owners belong to the actor's tenant. As I can see, the owner option doesn't work as expected and always results in an empty shadow list. </div><div>Probably someone knows how to filter shadows by owners?<br><div><br></div><div><pre style="background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:"JetBrains Mono",monospace;font-size:9.8pt"> <span style="color:rgb(232,191,106)"><authorization><br></span><span style="color:rgb(232,191,106)"> <name></span>Model Shadow<span style="color:rgb(232,191,106)"></name><br></span><span style="color:rgb(232,191,106)"> <action></span><a href="http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#read" target="_blank">http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#read</a><span style="color:rgb(232,191,106)"></action><br></span><span style="color:rgb(128,128,128)"> </span><span style="color:rgb(232,191,106)"><object><br></span><span style="color:rgb(232,191,106)"> <type></span>ShadowType<span style="color:rgb(232,191,106)"></type><br></span><span style="color:rgb(128,128,128)"> </span><span style="color:rgb(232,191,106)"><owner><br></span><span style="color:rgb(232,191,106)"> <type>User</span>Type<span style="color:rgb(232,191,106)"></type><br></span><span style="color:rgb(232,191,106)"> <filter><br></span><span style="color:rgb(232,191,106)"> <</span><span style="color:rgb(152,118,170)">q</span><span style="color:rgb(232,191,106)">:ref><br></span><span style="color:rgb(232,191,106)"> <</span><span style="color:rgb(152,118,170)">q</span><span style="color:rgb(232,191,106)">:path></span>c:tenantRef<span style="color:rgb(232,191,106)"></</span><span style="color:rgb(152,118,170)">q</span><span style="color:rgb(232,191,106)">:path><br></span><span style="color:rgb(232,191,106)"> <expression><br></span><span style="color:rgb(232,191,106)"> <script><br></span><span style="color:rgb(232,191,106)"> <code></span><span style="color:rgb(232,191,106);background-color:rgb(54,65,53)"><br></span><span style="color:rgb(232,191,106);background-color:rgb(54,65,53)"> </span><span style="background-color:rgb(54,65,53)">return [actor.getTenantRef().clone()]<br></span><span style="background-color:rgb(54,65,53)"> </span><span style="color:rgb(232,191,106)"></code><br></span><span style="color:rgb(232,191,106)"> </script><br></span><span style="color:rgb(232,191,106)"> </expression><br></span><span style="color:rgb(232,191,106)"> </</span><span style="color:rgb(152,118,170)">q</span><span style="color:rgb(232,191,106)">:ref><br></span><span style="color:rgb(232,191,106)"> </filter><br></span><span style="color:rgb(232,191,106)"> </owner></span><span style="color:rgb(128,128,128)"><br></span><span style="color:rgb(128,128,128)"> </span><span style="color:rgb(232,191,106)"></object><br></span><span style="color:rgb(232,191,106)"> </authorization><br></span></pre></div><div><br></div></div></div>
</blockquote></div>