mirror of https://github.com/apache/archiva.git
shortcut to users management
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1307338 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e6b8ccc7c8
commit
f6b701ede4
|
@ -138,6 +138,11 @@ function() {
|
|||
displayUploadArtifact();
|
||||
return;
|
||||
}
|
||||
|
||||
if (screen=='manage-users' && hasKarma('archiva-manage-users')){
|
||||
displayUsersGrid();
|
||||
return;
|
||||
}
|
||||
}
|
||||
// by default display search screen
|
||||
displaySearch();
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
<ul class="nav nav-list" redback-permissions="{permissions: ['archiva-manage-users']}">
|
||||
<li class="nav-header">${$.i18n.prop('menu.users')}</li>
|
||||
<li style="display: none" redback-permissions="{permissions: ['archiva-manage-users']}">
|
||||
<a href="#" id="menu-users-list-a" onclick="displayUsersGrid(this)">${$.i18n.prop('menu.users.manage')}</a>
|
||||
<a href="#" id="menu-users-list-a" onclick="displayUsersGrid()">${$.i18n.prop('menu.users.manage')}</a>
|
||||
</li>
|
||||
<li style="display: none" redback-permissions="{permissions: ['archiva-manage-users']}">
|
||||
<a href="#" id="menu-roles-list-a" onclick="displayRolesGrid()">${$.i18n.prop('menu.users.roles')}</a>
|
||||
|
|
Loading…
Reference in New Issue