aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Kermis <alain.kermis@sonarsource.com>2023-03-15 16:10:47 +0100
committerLukasz Jarocki <lukasz.jarocki@sonarsource.com>2023-03-17 10:45:56 +0100
commitdaec2c376e834360f0a2640da2072063458ec244 (patch)
tree0d79217b9cf663603709662e0612ce115c7de377
parent2ae32d466145185edab46ba1bf95e08e278edd92 (diff)
downloadsonarqube-daec2c376e834360f0a2640da2072063458ec244.tar.gz
sonarqube-daec2c376e834360f0a2640da2072063458ec244.zip
SONAR-18730 Update quality profile add project web service permissions description
-rw-r--r--server/sonar-webserver-webapi/src/main/java/org/sonar/server/qualityprofile/ws/AddProjectAction.java1
-rw-r--r--sonar-ws-generator/src/main/resources/snapshot-of-api.json2
2 files changed, 1 insertions, 2 deletions
diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/qualityprofile/ws/AddProjectAction.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/qualityprofile/ws/AddProjectAction.java
index 5a1f5cf104a..b2f9bd82b89 100644
--- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/qualityprofile/ws/AddProjectAction.java
+++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/qualityprofile/ws/AddProjectAction.java
@@ -65,7 +65,6 @@ public class AddProjectAction implements QProfileWsAction {
"Requires one of the following permissions:" +
"<ul>" +
" <li>'Administer Quality Profiles'</li>" +
- " <li>Edit right on the specified quality profile</li>" +
" <li>Administer right on the specified project</li>" +
"</ul>")
.setPost(true)
diff --git a/sonar-ws-generator/src/main/resources/snapshot-of-api.json b/sonar-ws-generator/src/main/resources/snapshot-of-api.json
index 6f3a0b50198..51031daca7f 100644
--- a/sonar-ws-generator/src/main/resources/snapshot-of-api.json
+++ b/sonar-ws-generator/src/main/resources/snapshot-of-api.json
@@ -6337,7 +6337,7 @@
},
{
"key": "add_project",
- "description": "Associate a project with a quality profile.<br> Requires one of the following permissions:<ul> <li>'Administer Quality Profiles'</li> <li>Edit right on the specified quality profile</li> <li>Administer right on the specified project</li></ul>",
+ "description": "Associate a project with a quality profile.<br> Requires one of the following permissions:<ul> <li>'Administer Quality Profiles'</li> <li>Administer right on the specified project</li></ul>",
"since": "5.2",
"internal": false,
"post": true,