]> source.dussan.org Git - sonarqube.git/commitdiff
Improve WS api/permissions/apply_template documentation
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Wed, 16 Mar 2016 16:12:36 +0000 (17:12 +0100)
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Fri, 18 Mar 2016 08:03:03 +0000 (09:03 +0100)
server/sonar-server/src/main/java/org/sonar/server/permission/ws/template/ApplyTemplateAction.java

index 54b93a9ad2e25f049252427adc3c68c4930e99ad..64e1bebba966c047c6bc5cdc038a46e579ce14cf 100644 (file)
@@ -56,8 +56,9 @@ public class ApplyTemplateAction implements PermissionsWsAction {
   @Override
   public void define(WebService.NewController context) {
     WebService.NewAction action = context.createAction("apply_template")
-      .setDescription("Apply a permission template to one or several projects.<br />" +
+      .setDescription("Apply a permission template to one project.<br />" +
         "The project id or project key must be provided.<br />" +
+        "The template id or name must be provided.<br />" +
         "It requires administration permissions to access.")
       .setPost(true)
       .setSince("5.2")