]> source.dussan.org Git - sonarqube.git/commitdiff
[NO-JIRA] Update api/sources/issue_snippets docs
authorBelen Pruvost <belen.pruvost@sonarsource.com>
Tue, 1 Feb 2022 18:36:29 +0000 (15:36 -0300)
committersonartech <sonartech@sonarsource.com>
Wed, 2 Feb 2022 20:02:54 +0000 (20:02 +0000)
server/sonar-webserver-webapi/src/main/java/org/sonar/server/source/ws/IssueSnippetsAction.java

index b19aea4a2de1362e41dc748369ddd160851039b5..51cb9eda7a16b6197e44a507572fd6b1875a0767 100644 (file)
@@ -67,7 +67,7 @@ public class IssueSnippetsAction implements SourcesWsAction {
   @Override
   public void define(WebService.NewController controller) {
     WebService.NewAction action = controller.createAction("issue_snippets")
-      .setDescription("Get code snipets involved in an issue. Requires 'Browse' permission on the project<br/>")
+      .setDescription("Get code snipets involved in an issue. Requires 'See Source Code permission' permission on the project<br/>")
       .setSince("7.8")
       .setInternal(true)
       .setResponseExample(Resources.getResource(getClass(), "example-show.json"))