<div dir="ltr">Hi colleagues,<br><div>      I am trying to create some basic role for Gitlab connector that will add role and organization in one assignment section to the user like this</div><div><br></div><div>  <assignment>    <br>        <targetRef oid="21ab0054-3d64-44d6-ac87-d14e844781f9" relation="org:default" type="c:RoleType">            <br>        </targetRef>        <br>        <orgRef oid="e4275a2c-a11e-4691-9674-3fb2a7a1eeb2" relation="org:default" type="c:OrgType">            <br>        </orgRef><br>    </assignment></div><div><br></div>     The syntax below works perfect the user object will be modified by adding the "desired" assignment section.   <br>     But such syntax does not apply constructions from "internal" role on the fly (I mean role oid="21ab0013-3d64-44d6-ac87-d14e844781f9").<br>    To do this I have additionally to recalculate user after assigning it to the basic role (select Force and Reconcile on User profile and click save).<br>  The same behavior and during unassigning of the basic role, construction will be applied until the user will be recalculated.<br> <br>      Is there some other way (syntax) to apply role and organization in one assignment section to avoid the issue described above.<br clear="all"><div><br></div><div>Syntax from the basic role <br></div><div>   <inducement>        <br>        <focusMappings><br>            <mapping ><br>                <authoritative>true</authoritative><br>                <strength>strong</strength><br>                <expression><br>                    <value><br>                                              <targetRef oid="21ab0013-3d64-44d6-ac87-d14e844781f9" relation="org:default" type="c:RoleType"><br>                                                       </targetRef><br>                                <orgRef oid="e4275a2c-a11e-4691-9674-3fb2a7a1eeb2" relation="org:default" type="c:OrgType"><br>                                                 </orgRef><br>                                       </value><br>                </expression><br>                <target><br>                    <c:path>assignment</c:path><br>                </target><br>            </mapping><br>        </focusMappings><br>        <focusType>c:UserType</focusType><br>    </inducement></div><div><br></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(76,76,76)">Best regards, <br><br><img src="cid:o.nekriach@dynatech.lv1520941785292-7770"> <br><br>Oleksandr Nekriach | Identity and access management engineer <br><br>Dynatech, <a href="https://www.google.com/maps/place/DYNATECH/@56.9575205,24.1107235,17z/data=!3m1!4b1!4m5!3m4!1s0x46eecf5753e42351:0x23b120b9745cae62!8m2!3d56.9575205!4d24.1129122" target="_blank">Jeruzalemes iela 1, Rīga, LV-1010, Latvia</a><br><br><div style="display:inline-block"><a href="tel:+371%2025%20314%20685" value="+37125314685" target="_blank">+37125314685</a></div>,<div style="display:inline-block"><a href="mailto:o.nekriach@dynatech.lv" target="_blank">o.nekriach@dynatech.lv</a></div>|<div style="display:inline-block"><a href="http://www.dynatech.lv" target="_blank">www.dynatech.lv</a></div> <br><br>Stay connected: <br><div style="display:inline-block;margin:5px 5px 0px 0px"><a href="https://www.facebook.com/DynatechLatvia/?ref=br_rs" target="_blank"><img src="cid:o.nekriach@dynatech.lv1520941785292-7771"></a></div><div style="display:inline-block;margin:5px 0px 0px"><a href="https://www.linkedin.com/company-beta/17893047/" target="_blank"><img src="cid:o.nekriach@dynatech.lv1520941785292-7772"></a></div><br><br><span style="font-size:11px;color:rgb(161,161,161)">Confidentiality Notice: This message contains confidential information and is intended only for the named recipient(s). If you are not the addressee you may not copy, distribute or perform any other activities with this information. If you have received this transmission in error, please notify us by e-mail immediately. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.</span></span></div></div></div></div></div>