<div dir="auto">Hello Pavol,<div dir="auto"><br></div><div dir="auto">Thank you for your response. </div><div dir="auto">Here is the JIRA issue I opened : <a href="https://jira.evolveum.com/browse/MID-5570">https://jira.evolveum.com/browse/MID-5570</a><div dir="auto"><div dir="auto"><br></div><div dir="auto">-Frederic</div></div></div><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Thu, Jul 18, 2019, 10:54 Pavol Mederly <<a href="mailto:mederly@evolveum.com">mederly@evolveum.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>Hello Frédéric,</p>
    <p>this is certainly a bug in midPoint. Please create a JIRA issue.
      Unfortunately, we are in a terrible hurry to meet 4.0 deadline,
      with a lot of things to be fixed, so we cannot promise any
      specific time to resolve this.</p>
    <p>Anyway, creating a JIRA issue is necessary.</p>
    <p>Best regards,<br>
    </p>
    <pre class="m_-2615313177248706079moz-signature" cols="72">Pavol Mederly
Software developer
<a href="http://evolveum.com" target="_blank" rel="noreferrer">evolveum.com</a>
</pre>
    <div class="m_-2615313177248706079moz-cite-prefix">On 18.07.2019 10:37, Frédéric Lohier
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="auto">
        <div>Hello,</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">I am still stuck with this issue. Are we suppose
          to be able to define several <adminGuiConfiguration><span style="font-family:sans-serif"></</span><span style="font-family:sans-serif">adminGuiConfiguration> in
            different roles ?</span></div>
        <div dir="auto"><font face="sans-serif"><br>
          </font></div>
        <div dir="auto"><font face="sans-serif">What I want to do is
            hide some user tabs in a role, and hide some organization
            tabs in another role.</font></div>
        <div dir="auto"><font face="sans-serif"><br>
          </font></div>
        <div dir="auto"><font face="sans-serif">-Frederic<br>
          </font><br>
          <div class="gmail_quote" dir="auto">
            <div dir="ltr" class="gmail_attr">On Fri, Jul 12, 2019,
              23:55 Frédéric Lohier <<a href="mailto:frederic@lohier.org" rel="noreferrer noreferrer" target="_blank">frederic@lohier.org</a>>
              wrote:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div dir="auto">
                <p style="font-family:sans-serif;font-size:12.8px">Hello,</p>
                <p style="font-family:sans-serif;font-size:12.8px"><br>
                </p>
                <p style="font-family:sans-serif;font-size:12.8px">I
                  configured 2 roles with an adminGuiCOnfiguration
                  section in each one like the example below :</p>
                <p style="font-family:sans-serif;font-size:12.8px">adminGuiConfiguration
                  section in role_1 :</p>
                <p style="font-family:sans-serif;font-size:12.8px"><adminGuiConfiguration></p>
                <p style="font-family:sans-serif;font-size:12.8px">       
                  <objectForms></p>
                <p style="font-family:sans-serif;font-size:12.8px">           
                  <objectForm></p>
                <p style="font-family:sans-serif;font-size:12.8px">               
                  <type>c:UserType</type></p>
                <p style="font-family:sans-serif;font-size:12.8px">               
                  <formSpecification></p>
                <p style="font-family:sans-serif;font-size:12.8px">              
                       <panelUri><a href="http://midpoint.evolveum.com/xml/ns/public/gui/component-3#focusTabBasic" style="text-decoration-line:none;color:rgb(66,133,244)" rel="noreferrer
                    noreferrer noreferrer" target="_blank">http://midpoint.evolveum.com/xml/ns/public/gui/component-3#focusTabBasic</a></panelUri></p>
                <p style="font-family:sans-serif;font-size:12.8px">               
                  </formSpecification></p>
                <p style="font-family:sans-serif;font-size:12.8px">           
                  </objectForm></p>
                <p style="font-family:sans-serif;font-size:12.8px">         
                  </objectForms></p>
                <p style="font-family:sans-serif;font-size:12.8px"></adminGuiConfiguration></p>
                <p style="font-family:sans-serif;font-size:12.8px"> </p>
                <p style="font-family:sans-serif;font-size:12.8px">adminGuiConfiguration
                  section in role_2 :<br>
                </p>
                <p style="font-family:sans-serif;font-size:12.8px"><adminGuiConfiguration></p>
                <p style="font-family:sans-serif;font-size:12.8px">       
                  <objectForms></p>
                <p style="font-family:sans-serif;font-size:12.8px">           
                  <objectForm></p>
                <p style="font-family:sans-serif;font-size:12.8px">               
                  <type>c:OrgType</type></p>
                <p style="font-family:sans-serif;font-size:12.8px">               
                  <formSpecification></p>
                <p style="font-family:sans-serif;font-size:12.8px">                   
                  <panelUri><a href="http://midpoint.evolveum.com/xml/ns/public/gui/component-3#focusTabBasic" style="text-decoration-line:none;color:rgb(66,133,244)" rel="noreferrer
                    noreferrer noreferrer" target="_blank">http://midpoint.evolveum.com/xml/ns/public/gui/component-3#focusTabBasic</a></panelUri></p>
                <p style="font-family:sans-serif;font-size:12.8px">               
                  </formSpecification></p>
                <p style="font-family:sans-serif;font-size:12.8px">           
                  </objectForm></p>
                <p style="font-family:sans-serif;font-size:12.8px">         
                  </objectForms></p>
                <p style="font-family:sans-serif;font-size:12.8px"></adminGuiConfiguration></p>
                <p style="font-family:sans-serif;font-size:12.8px"><br>
                </p>
                <p style="font-family:sans-serif;font-size:12.8px">What
                  I want to achieve is hiding some object tabs in the
                  GUI depending on roles.</p>
                <p style="font-family:sans-serif;font-size:12.8px">But
                  when a user is assigned to the two roles (actually I
                  did not tested with only one since the roles are
                  induced by another role), I get an error 500 during
                  the user login and the log is the following : </p>
                <p style="font-family:sans-serif;font-size:12.8px">2019-07-12
                  17:47:34,043 [] [http-nio-80-exec-4] ERROR
(org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/midpoint].[dispatcherServlet]):
                  Servlet.service() for servlet [dispatcherServlet] in
                  context with path [/midpoint] threw exception</p>
                <p style="font-family:sans-serif;font-size:12.8px">java.lang.IllegalStateException:
                  Attempt to add a container value with an id that
                  already exists: 1</p>
                <p style="font-family:sans-serif;font-size:12.8px">Any
                  idea how to make this work? Is it even possible?</p>
              </div>
            </blockquote>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="m_-2615313177248706079mimeAttachmentHeader"></fieldset>
      <pre class="m_-2615313177248706079moz-quote-pre">_______________________________________________
midPoint mailing list
<a class="m_-2615313177248706079moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com" target="_blank" rel="noreferrer">midPoint@lists.evolveum.com</a>
<a class="m_-2615313177248706079moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank" rel="noreferrer">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
  </div>

_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank" rel="noreferrer">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer noreferrer" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
</blockquote></div></div>