<div dir="ltr"><div><div id="gmail-:3sd" class="gmail-Ar gmail-Au gmail-Ao"><div id="gmail-:3qr" class="gmail-Am gmail-Al editable gmail-LW-avf gmail-tS-tW gmail-tS-tY" aria-label="Message Body" role="textbox" aria-multiline="true" tabindex="1" style="direction:ltr;min-height:445px" aria-controls=":4rj">Hi all,<br><div>I need to customize LeftMenuPanel via a custom user role.</div><div>For example, using UI authorizations I can enable the "Resources" menu and the "All Resources" item inside.</div><div>I'd like to add another objectCollectionView for ResourceType named "Active Resources".</div><div>I do something like this in my custom role assigned to appropriate user:</div><div><pre style="background-color:rgb(43,43,43);color:rgb(169,183,198);font-family:"JetBrains Mono",monospace;font-size:9.8pt"><pre style="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)">    <action></span><a href="http://midpoint.evolveum.com/xml/ns/public/security/authorization-ui-3#resources">http://midpoint.evolveum.com/xml/ns/public/security/authorization-ui-3#resources</a><span style="color:rgb(232,191,106)"></action><br></span><span style="color:rgb(232,191,106)">    <action></span><a href="http://midpoint.evolveum.com/xml/ns/public/security/authorization-ui-3#resourcesView">http://midpoint.evolveum.com/xml/ns/public/security/authorization-ui-3#resourcesView</a><span style="color:rgb(232,191,106)"></action><br></span><span style="color:rgb(232,191,106)"></authorization><br></span></pre><pre style="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)">    <action></span><a href="http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#read">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(232,191,106)">    <action></span><a href="http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#discoverConnectors">http://midpoint.evolveum.com/xml/ns/public/security/authorization-model-3#discoverConnectors</a><span style="color:rgb(232,191,106)"></action><br></span><span style="color:rgb(232,191,106)">    <object><br></span><span style="color:rgb(232,191,106)">        <type></span>ResourceType<span style="color:rgb(232,191,106)"></type><br></span><span style="color:rgb(232,191,106)">    </object><br></span><span style="color:rgb(232,191,106)"></authorization></span></pre><pre style="font-family:"JetBrains Mono",monospace;font-size:9.8pt"><span style="color:rgb(232,191,106)"><adminGuiConfiguration><br></span><span style="color:rgb(232,191,106)">    <objectCollectionViews><br></span><span style="color:rgb(232,191,106)">        <objectCollectionView><br></span><span style="color:rgb(232,191,106)">            <identifier></span>resource-up<span style="color:rgb(232,191,106)"></identifier><br></span><span style="color:rgb(232,191,106)">            <display><br></span><span style="color:rgb(232,191,106)">                <pluralLabel></span>Active Resources<span style="color:rgb(232,191,106)"></pluralLabel><br></span><span style="color:rgb(232,191,106)">            </display><br></span><span style="color:rgb(232,191,106)">            <visibility></span>visible<span style="color:rgb(232,191,106)"></visibility><br></span><span style="color:rgb(232,191,106)">            <applicableForOperation></span>modify<span style="color:rgb(232,191,106)"></applicableForOperation><br></span><span style="color:rgb(232,191,106)">            <type></span>ResourceType<span style="color:rgb(232,191,106)"></type><br></span><span style="color:rgb(232,191,106)">            <collection><br></span><span style="color:rgb(232,191,106)">                <collectionRef </span><span style="color:rgb(186,186,186)">oid</span><span style="color:rgb(106,135,89)">="00000000-0000-0000-0001-000000000003" </span><span style="color:rgb(186,186,186)">type</span><span style="color:rgb(106,135,89)">="c:ObjectCollectionType"</span><span style="color:rgb(232,191,106)">/><br></span><span style="color:rgb(232,191,106)">            </collection><br></span><span style="color:rgb(232,191,106)">        </objectCollectionView></span><span style="color:rgb(232,191,106)"><br></span><span style="color:rgb(232,191,106)">    <enableExperimentalFeatures></span>true<span style="color:rgb(232,191,106)"></enableExperimentalFeatures><br></span><span style="color:rgb(232,191,106)"></adminGuiConfiguration></span></pre></pre></div></div></div></div><div>I expect to see "Resources" and an extra item "Active Resource" inside. But still can see only default "All Resources".<br>What have I missed?<br>Is this possible to reach developing a custom role? Or SystemConfiguration is the only place where this kind of configuration possible?  <br>If this possible the next step is to hide "All Resources" and leave only "Active Resources". Probably someone knows how.<br>Thanks,</div><div>Yakov <br><br><br></div><div><br></div></div>