<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 create a new Panel for users that will display their roles that they can unassign themselves (the ones they have requested)</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">Ideally, the filter should work on the attribute "requestable" but it doesn't seem to exist in that context (?).</div><div style="font-family: Arial, sans-serif; font-size: 14px;">Not too much of a problem as the requestable roles are of a specific archetype.</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">I haven't been able to create a filter that works on any other <paneltype> than roleMemberships, so this code "works"</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><div style="color: rgb(101, 123, 131); background-color: rgb(253, 246, 227);"><pre style="font-family:'JetBrains Mono',monospace;font-size:12.0pt"><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>custom-all-requested-roles<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);">display</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);">label</span><span style="color: rgb(147, 161, 161);">></span>Requested roles<span style="color: rgb(147, 161, 161);"></</span><span style="font-weight: bold; color: rgb(38, 139, 210);">label</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);">icon</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);">cssClass</span><span style="color: rgb(147, 161, 161);">></span>fa-regular fa-clock<span style="color: rgb(147, 161, 161);"></</span><span style="font-weight: bold; color: rgb(38, 139, 210);">cssClass</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);">icon</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);">display</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);">displayOrder</span><span style="color: rgb(147, 161, 161);">></span>15<span style="color: rgb(147, 161, 161);"></</span><span style="font-weight: bold; color: rgb(38, 139, 210);">displayOrder</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);">panelType</span><span style="color: rgb(147, 161, 161);">></span>roleMemberships<span style="color: rgb(147, 161, 161);"></</span><span style="font-weight: bold; color: rgb(38, 139, 210);">panelType</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);">listView</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>requestedRolesListView<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);">includeDefaultColumns</span><span style="color: rgb(147, 161, 161);">></span>true<span style="color: rgb(147, 161, 161);"></</span><span style="font-weight: bold; color: rgb(38, 139, 210);">includeDefaultColumns</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);">type</span><span style="color: rgb(147, 161, 161);">></span>c:RoleType<span style="color: rgb(147, 161, 161);"></</span><span style="font-weight: bold; color: rgb(38, 139, 210);">type</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);">collection</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);">filter</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(108, 113, 196);">q</span><span style="font-weight: bold; color: rgb(38, 139, 210);">:text</span><span style="color: rgb(147, 161, 161);">></span><span style="color: rgb(147, 161, 161); background-color: rgb(238, 232, 213);"><br></span><span style="color: rgb(147, 161, 161); background-color: rgb(238, 232, 213);"> </span><span style="background-color: rgb(238, 232, 213);">(archetypeRef matches (oid = "493677b0-4d74-4dcc-9f11-50241fd57e43")<br></span><span style="background-color: rgb(238, 232, 213);"> OR<br></span><span style="background-color: rgb(238, 232, 213);"> archetypeRef matches (oid = "e6b1440b-cb6f-422b-ba8b-9a6878318a1e")<br></span><span style="background-color: rgb(238, 232, 213);"> )<br></span><span style="background-color: rgb(238, 232, 213);"> </span><span style="color: rgb(147, 161, 161);"></</span><span style="font-weight: bold; color: rgb(108, 113, 196);">q</span><span style="font-weight: bold; color: rgb(38, 139, 210);">:text</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);">filter</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);">collection</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);">listView</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>but, there seems to be a limit of three roles.</div><div style="font-family: Arial, sans-serif; font-size: 14px;">Is there anyway to change that?</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">Or, can someone suggest a different way to show all roles with the specific archetypeRef?</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">Kind regards,</div><div style="font-family: Arial, sans-serif; font-size: 14px;">Markus</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;" class="protonmail_signature_block">
<div class="protonmail_signature_block-proton protonmail_signature_block-empty">
</div>
</div>