]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-6168 Only "Administer System" permission should be need to create a group
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 11 Feb 2015 14:12:55 +0000 (15:12 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 11 Feb 2015 16:49:37 +0000 (17:49 +0100)
server/sonar-web/src/main/webapp/WEB-INF/app/views/groups/index.html.erb

index fbbd68e1ed841ea82803a3c37244a57dccaee883..33e974b02bef145281a095bf28f93b85b6a396a6 100644 (file)
@@ -5,7 +5,7 @@
 <div class="page">
   <header class="page-header">
     <h1 class="page-title"><%= message('user_groups.page') -%></h1>
-    <% if profiles_administrator? %>
+    <% if is_admin? %>
       <div class="page-actions">
         <a id="link-create-group" href="<%= ApplicationController.root_context -%>/groups/create_form" class="open-modal link-action">Add new group</a>
       </div>