From b3959eb1a589094534202f88ab48cb63fab3f541 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 3 Apr 2012 12:19:25 +0000 Subject: [PATCH] shortcut to roles management screen git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308842 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-webapp-js/src/main/webapp/js/archiva/main.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js index fd9af6332..dc5f778ce 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js @@ -143,6 +143,10 @@ function() { displayUsersGrid(); return; } + if (screen=='roles-grid' && hasKarma('archiva-manage-users')){ + displayRolesGrid(); + return; + } } // by default display search screen displaySearch(); -- 2.39.5