<div style="font-family: Arial, sans-serif; font-size: 14px;">Hi,</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">I'm trying to configure the gui depending on what role you have.</div><div style="font-family: Arial, sans-serif; font-size: 14px;">For now, I have three different roles:</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><ul data-editing-info="{"orderedStyleType":1,"unorderedStyleType":1}"><li style="list-style-type: disc;">Normal User</li><li style="list-style-type: disc;">Approving User</li><li style="list-style-type: disc;">Delegating User</li></ul><div><br></div><div>All these roles are based on, the EndUser, Approver and Delegator roles, but are limited more.</div><div><br></div><div>Scenario is this:</div><div><ol data-editing-info="{"orderedStyleType":1,"unorderedStyleType":1}" data-listchain="__List_Chain_337"><li style="list-style-type: "1. ";"><span>As an end-user you can only view a limited number of attributes and panels on the selfProfilePage.<br></span></li></ol></div><div><br></div><ol start="2" data-editing-info="{"orderedStyleType":1,"unorderedStyleType":1}" data-listchain="__List_Chain_337"><li style="list-style-type: "2. ";">As an approver you should be able to see the basic information about the roles and users you are approving.<br></li></ol><div><br></div><ol start="3" data-editing-info="{"orderedStyleType":1,"unorderedStyleType":1}" data-listchain="__List_Chain_337"><li style="list-style-type: "3. ";">As a delegator you should be able to delegate to other users with approving-capacity<br></li></ol><div><br></div><div>Starting with 1 and 3, I cannot (at least haven't found a way) remove/hide the delegations from the normal/end-user view and enable it if you have the delegator role.</div><div>i.e.</div><div><div style="color: rgb(88, 110, 117); background-color: rgb(253, 246, 227);"><pre style="font-family:'JetBrains Mono',monospace;font-size:9.8pt"><span style="color: rgb(147, 161, 161);"><</span><span style="font-weight: bold; color: rgb(38, 139, 210);">panel</span><span style="color: rgb(147, 161, 161);">><br></span><span style="color: rgb(147, 161, 161);"> <</span><span style="font-weight: bold; color: rgb(38, 139, 210);">identifier</span><span style="color: rgb(147, 161, 161);">></span>userDelegations<span style="color: rgb(147, 161, 161);"></</span><span style="font-weight: bold; color: rgb(38, 139, 210);">identifier</span><span style="color: rgb(147, 161, 161);">><br></span><span style="color: rgb(147, 161, 161);"> <</span><span style="font-weight: bold; color: rgb(38, 139, 210);">visibility</span><span style="color: rgb(147, 161, 161);">></span>visible<span style="color: rgb(147, 161, 161);"></</span><span style="font-weight: bold; color: rgb(38, 139, 210);">visibility</span><span style="color: rgb(147, 161, 161);">><br></span><span style="color: rgb(147, 161, 161);"></</span><span style="font-weight: bold; color: rgb(38, 139, 210);">panel</span><span style="color: rgb(147, 161, 161);">><br></span><span style="color: rgb(147, 161, 161);"><</span><span style="font-weight: bold; color: rgb(38, 139, 210);">panel</span><span style="color: rgb(147, 161, 161);">><br></span><span style="color: rgb(147, 161, 161);"> <</span><span style="font-weight: bold; color: rgb(38, 139, 210);">identifier</span><span style="color: rgb(147, 161, 161);">></span>delegatedToMe<span style="color: rgb(147, 161, 161);"></</span><span style="font-weight: bold; color: rgb(38, 139, 210);">identifier</span><span style="color: rgb(147, 161, 161);">><br></span><span style="color: rgb(147, 161, 161);"> <</span><span style="font-weight: bold; color: rgb(38, 139, 210);">visibility</span><span style="color: rgb(147, 161, 161);">></span>visible<span style="color: rgb(147, 161, 161);"></</span><span style="font-weight: bold; color: rgb(38, 139, 210);">visibility</span><span style="color: rgb(147, 161, 161);">><br></span><span style="color: rgb(147, 161, 161);"></</span><span style="font-weight: bold; color: rgb(38, 139, 210);">panel</span><span style="color: rgb(147, 161, 161);">><br></span></pre></div>does nothing if the end-user role has hidden or vacancy. It will still be gone.</div><div><br></div><div>2 and 3:</div><div>If I want to limit the list when you click "add delegation" to check for if the user is manager. This also impact the users shown in "approval"</div><div>i.e. either I allow all users => delegations can be done to anyone or I limit to "is manager" and approvals will not show all users.</div><div><br></div><div>Is it possible to configure the authorizations like this?</div><div>If not, I have to figure out a different way. An easy work-around would be to let all users have "approval" rights, but... to limit would be better.</div><div><br></div><div>Thanks,</div><div>Markus</div><div><br></div><div><br></div></div><div class="protonmail_signature_block" style="font-family: Arial, sans-serif; font-size: 14px;">
<div class="protonmail_signature_block-proton protonmail_signature_block-empty">
</div>
</div>