aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2017-11-29 15:07:50 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2017-12-04 16:02:52 +0100
commitf25ece8fe820b708f08aac652cdda94183bcb2df (patch)
treebfee02036d06b5f468d906154767f14ac1a6573e /sonar-ws
parent2ba36cab8ba668c3dfa4c6e33399bd076b356adf (diff)
downloadsonarqube-f25ece8fe820b708f08aac652cdda94183bcb2df.tar.gz
sonarqube-f25ece8fe820b708f08aac652cdda94183bcb2df.zip
SONAR-10074 Add QP actions "delete" and "associateProjects"
In api/qualityprofiles/search, the following actions are now availables : - delete : Available when not built-it, not default, and have either QP admin permission or have rights to edit - associateProjects : Available when not default and have either QP admin permission or have rights to edit
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/protobuf/ws-qualityprofiles.proto4
1 files changed, 3 insertions, 1 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-qualityprofiles.proto b/sonar-ws/src/main/protobuf/ws-qualityprofiles.proto
index 0b0039a2506..ddb6ebbe8ff 100644
--- a/sonar-ws/src/main/protobuf/ws-qualityprofiles.proto
+++ b/sonar-ws/src/main/protobuf/ws-qualityprofiles.proto
@@ -54,7 +54,9 @@ message SearchWsResponse {
optional bool edit = 1;
optional bool setAsDefault = 2;
optional bool copy = 3;
- }
+ optional bool associateProjects = 4;
+ optional bool delete = 5;
+ }
}
message Actions {