<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body 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="moz-signature" cols="72">Pavol Mederly
Software developer
evolveum.com
</pre>
<div class="moz-cite-prefix">On 18.07.2019 10:37, Frédéric Lohier
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CALRGK0qrzpgit1qkD8gDYRP=+geJABfov88f=T-gjFtbsabU5Q@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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" target="_blank"
rel="noreferrer" moz-do-not-send="true">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" target="_blank" moz-do-not-send="true">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" target="_blank" moz-do-not-send="true">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="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-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>
</body>
</html>