<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hey all, I have a couple of questions about the Gitlab connector sample here: <a href="https://github.com/Evolveum/midpoint/tree/master/samples/resources/gitlab">https://github.com/Evolveum/midpoint/tree/master/samples/resources/gitlab</a></div><div dir="ltr"><br></div><div>My understanding of the connector is that projects and groups are both represented as OrgTypes in Midpoint and as entitlements on the resource.</div><div><br></div><div dir="ltr"><font face="arial, helvetica, sans-serif">I'm curious what the inducement sections on the roles do, e.g. on the <span class="gmail-final-path" style="box-sizing:border-box;color:rgb(36,41,46)">role-permission-master.xml. Of course the goal is to add the user to an appropriate Project and Group out in Gitlab with the "master" access type.</span></font></div><div dir="ltr"><font color="#24292e" face="arial, helvetica, sans-serif"><br></font></div><div><font color="#24292e" face="arial, helvetica, sans-serif">So three questions:</font></div><div dir="ltr"><font color="#24292e" face="arial, helvetica, sans-serif"><br></font></div><div dir="ltr"><font color="#24292e" face="arial, helvetica, sans-serif">1) How does one add the user as a master to a <i>particular</i> project. I don't understand where the "</font><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:pre">$assignment/c:orgRef</span><font color="#24292e" face="arial, helvetica, sans-serif">" that's referenced in the <condition> of the <inducement> is coming from. Wouldn't that add the user as a master to <i>all</i> of their projects? Or only allow one? </font></div><div dir="ltr"><font color="#24292e" face="arial, helvetica, sans-serif"><br></font></div><div dir="ltr"><font color="#24292e" face="arial, helvetica, sans-serif">Or would the user making the request select a list of project org references when assigning this role? Is there a UI mechanism for doing this?</font></div><div dir="ltr"><font color="#24292e" face="arial, helvetica, sans-serif"><br></font></div><div dir="ltr"><font color="#24292e" face="arial, helvetica, sans-serif"><a href="https://github.com/Evolveum/midpoint/blob/master/samples/resources/gitlab/role-permission-master.xml#L124">https://github.com/Evolveum/midpoint/blob/master/samples/resources/gitlab/role-permission-master.xml#L124</a><br></font></div><div dir="ltr"><font color="#24292e" face="arial, helvetica, sans-serif"><br></font></div><div dir="ltr"><font color="#24292e" face="arial, helvetica, sans-serif">2) What on earth is the magic in the "Add user to group as member" group object template mapping doing? Am I reading correctly that that's automatically populating the Midpoint-end org membership based on the values pulled from Gitlab?</font></div><div dir="ltr"><font color="#24292e" face="arial, helvetica, sans-serif"><br></font></div><div dir="ltr"><font color="#24292e" face="arial, helvetica, sans-serif"><a href="https://github.com/Evolveum/midpoint/blob/master/samples/resources/gitlab/object-template-for-group.xml#L71">https://github.com/Evolveum/midpoint/blob/master/samples/resources/gitlab/object-template-for-group.xml#L71</a><br></font></div><div dir="ltr"><br></div><div>3) What is the metarole-for-role doing to the user? There's no target specified. Is this just adding the user as a member of the given orgs?</div><div><br></div><div><a href="https://github.com/Evolveum/midpoint/blob/master/samples/resources/gitlab/metarole-for-role.xml">https://github.com/Evolveum/midpoint/blob/master/samples/resources/gitlab/metarole-for-role.xml</a><br></div><div dir="ltr"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Devin Rosenbauer<br>Principal Consultant<br>Identity Works LLC<br>+1 585 210 3201<br></div></div></div></div></div></div></div></div></div>