[midPoint] roleMembership-panel
Markus Calmius
markus.calmius at proton.ch
Thu Dec 4 13:41:15 CET 2025
Hi!
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)
Ideally, the filter should work on the attribute "requestable" but it doesn't seem to exist in that context (?).
Not too much of a problem as the requestable roles are of a specific archetype.
I haven't been able to create a filter that works on any other <paneltype> than roleMemberships, so this code "works"
<
panel
>
<
identifier
>
custom-all-requested-roles
</
identifier
>
<
display
>
<
label
>
Requested roles
</
label
>
<
icon
>
<
cssClass
>
fa-regular fa-clock
</
cssClass
>
</
icon
>
</
display
>
<
displayOrder
>
15
</
displayOrder
>
<
panelType
>
roleMemberships
</
panelType
>
<
listView
>
<
identifier
>
requestedRolesListView
</
identifier
>
<
includeDefaultColumns
>
true
</
includeDefaultColumns
>
<
type
>
c:RoleType
</
type
>
<
collection
>
<
filter
>
<
q
:text
>
(archetypeRef matches (oid = "493677b0-4d74-4dcc-9f11-50241fd57e43")
OR
archetypeRef matches (oid = "e6b1440b-cb6f-422b-ba8b-9a6878318a1e")
)
</
q
:text
>
</
filter
>
</
collection
>
</
listView
>
</
panel
>
but, there seems to be a limit of three roles.
Is there anyway to change that?
Or, can someone suggest a different way to show all roles with the specific archetypeRef?
Kind regards,
Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20251204/5eb47ba7/attachment.htm>
More information about the midPoint
mailing list