From 9caa226fd480041bd57a3db46d8be4a81a55840d Mon Sep 17 00:00:00 2001 From: Teryk Bellahsene Date: Thu, 26 Jan 2017 18:26:28 +0100 Subject: [PATCH] SONAR-8090 WS ce/component documentation on permission updated --- .../main/java/org/sonar/server/ce/ws/ComponentAction.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/server/sonar-server/src/main/java/org/sonar/server/ce/ws/ComponentAction.java b/server/sonar-server/src/main/java/org/sonar/server/ce/ws/ComponentAction.java index ce88ee6363b..8b1d82b82ea 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/ce/ws/ComponentAction.java +++ b/server/sonar-server/src/main/java/org/sonar/server/ce/ws/ComponentAction.java @@ -60,11 +60,7 @@ public class ComponentAction implements CeWsAction { public void define(WebService.NewController controller) { WebService.NewAction action = controller.createAction("component") .setDescription("Get the pending tasks, in-progress tasks and the last executed task of a given component (usually a project).
" + - "Requires one of the following permissions:" + - "" + + "Requires the following permission: 'Browse' on the project of the specified component.
" + "Either '%s' or '%s' must be provided, not both.
" + "Since 6.1, field \"logs\" is deprecated and its value is always false.", PARAM_COMPONENT_ID, PARAM_COMPONENT_KEY) -- 2.39.5