]> source.dussan.org Git - archiva.git/commitdiff
shortcut to roles management screen
authorOlivier Lamy <olamy@apache.org>
Tue, 3 Apr 2012 12:19:25 +0000 (12:19 +0000)
committerOlivier Lamy <olamy@apache.org>
Tue, 3 Apr 2012 12:19:25 +0000 (12:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308842 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js

index fd9af63323a977670463213d46540b55579107af..dc5f778cea3570cacf5b649a21f058a24ee8e5fd 100644 (file)
@@ -143,6 +143,10 @@ function() {
         displayUsersGrid();
         return;
       }
+      if (screen=='roles-grid' && hasKarma('archiva-manage-users')){
+        displayRolesGrid();
+        return;
+      }
     }
     // by default display search screen
     displaySearch();