Skip to content

Commit

Permalink
Added adminGuiConfiguration example for hiding All assignments and sh…
Browse files Browse the repository at this point in the history
…owing its contents in Assignments instead.
  • Loading branch information
dejavix committed Jan 31, 2022
1 parent faabe4a commit d0b5460
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions docs/admin-gui/admin-gui-config/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ Basic info section will contain attributes describing organizationalUnit, emailA
| panelType
| NO
| String
| Unique identifier pointing to the panel which will be shown. There are build-in panels in midPoint mostly mentioned in the table (TODO ref to table), but also custom panel can be implemented and used here.
| Unique identifier pointing to the panel which will be shown. There are built-in panels in midPoint mostly mentioned in the table (TODO ref to table), but also custom panel can be implemented and used here.

| listView
| NO
Expand Down Expand Up @@ -731,6 +731,28 @@ With new configuration there are several options how to cutomize assignemnts vie
</adminGuiConfiguration>
----


. Hiding "All assignments" panel and showing its contents in "Assignments" directly
+
[source,xml]
----
<adminGuiConfiguration>
<objectDetails>
<objectDetailsPage>
<type>c:UserType</type>
<panel>
<identifier>assignments</identifier>
<panelType>allAssignments</panelType>
<panel>
<identifier>allAssignments</identifier>
<visibility>hidden</visibility>
</panel>
</panel>
</objectDetailsPage>
</objectDetails>
</adminGuiConfiguration>
----

. Change display name and icon for "Service assignments".
+
[source,xml]
Expand Down Expand Up @@ -1358,4 +1380,4 @@ Therefore do not allow untrusted users to define sensitive parts of admin GUI co

* xref:/midpoint/reference/security/authorization/[Authorization]

* xref:/midpoint/reference/admin-gui/collections-views/show-only-active-users/[Show Only Active Users HOWTO]
* xref:/midpoint/reference/admin-gui/collections-views/show-only-active-users/[Show Only Active Users HOWTO]

0 comments on commit d0b5460

Please sign in to comment.