Skip to content

Commit

Permalink
Self services: default Links panel components are configured
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Oct 8, 2015
1 parent 06eb0d9 commit cecdcf9
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 8 deletions.
Expand Up @@ -8,7 +8,7 @@
/**
* @author Viliam Repan (lazyman)
*/
@PageDescriptor(url = {"/self/dashboard"}, action = {
@PageDescriptor(url = {"/self/credentials"}, action = {
@AuthorizationAction(actionUri = PageSelf.AUTH_SELF_ALL_URI,
label = PageSelf.AUTH_SELF_ALL_LABEL,
description = PageSelf.AUTH_SELF_ALL_DESCRIPTION),
Expand Down
Expand Up @@ -24,7 +24,7 @@
<div class="info-box-icon bg-blue fa fa-tasks" wicket:id="imageId"/>

<div class="info-box-content">
<span wicket:id="labelId"/>
<span class="info-box-number" wicket:id="labelId"/>
</div>
</div>
</a>
Expand Down
Expand Up @@ -96,20 +96,38 @@
</cleanupPolicy>
<adminGuiConfiguration>
<userDashboardLink>
<targetUrl>/admin/users</targetUrl>
<label>Users</label>
<targetUrl>/self/profile</targetUrl>
<label>Profile</label>
<icon>
<cssClass>fa fa-users</cssClass>
<cssClass>fa fa-user</cssClass>
</icon>
<color>blue</color>
</userDashboardLink>
<userDashboardLink>
<targetUrl>/self/credentials</targetUrl>
<label>Credentials</label>
<icon>
<cssClass>fa fa-shield</cssClass>
</icon>
<color>red</color>
</userDashboardLink>
<userDashboardLink>
<targetUrl>/admin/org/tree</targetUrl>
<label>Organizations</label>
<targetUrl>/admin/users</targetUrl>
<label>List users</label>
<icon>
<cssClass>fa fa-bank</cssClass>
<cssClass>fa fa-users</cssClass>
</icon>
<color>green</color>
<authorization>http://midpoint.evolveum.com/xml/ns/public/security/authorization-ui-3#usersAll</authorization>
</userDashboardLink>
<userDashboardLink>
<targetUrl>/admin/resources</targetUrl>
<label>List resources</label>
<icon>
<cssClass>fa fa-building</cssClass>
</icon>
<color>yellow</color>
<authorization>http://midpoint.evolveum.com/xml/ns/public/security/authorization-ui-3#resourcesAll</authorization>
</userDashboardLink>
</adminGuiConfiguration>
</systemConfiguration>

0 comments on commit cecdcf9

Please sign in to comment.