aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorBenoit <benoit.gianinetti@sonarsource.com>2019-07-12 14:06:47 +0200
committerSonarTech <sonartech@sonarsource.com>2019-07-12 20:21:16 +0200
commit7f1afd8ce4723dad04762837efec3b4b2525dff5 (patch)
tree868fce46d90be48623e237c195a64e9aff091696 /sonar-ws
parentc2d9ced3637a5aa08422427e6435aaecaf659feb (diff)
downloadsonarqube-7f1afd8ce4723dad04762837efec3b4b2525dff5.tar.gz
sonarqube-7f1afd8ce4723dad04762837efec3b4b2525dff5.zip
MMF-769 User can close their account (#1861)
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/protobuf/ws-issues.proto1
-rw-r--r--sonar-ws/src/main/protobuf/ws-organizations.proto10
2 files changed, 11 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-issues.proto b/sonar-ws/src/main/protobuf/ws-issues.proto
index d74b89ded46..4ba95043bb4 100644
--- a/sonar-ws/src/main/protobuf/ws-issues.proto
+++ b/sonar-ws/src/main/protobuf/ws-issues.proto
@@ -248,6 +248,7 @@ message ChangelogWsResponse {
optional string creationDate = 4;
repeated Diff diffs = 5;
optional string avatar = 6;
+ optional bool isUserActive = 7;
message Diff {
optional string key = 1;
diff --git a/sonar-ws/src/main/protobuf/ws-organizations.proto b/sonar-ws/src/main/protobuf/ws-organizations.proto
index 7a468f3b8fe..f16c6b7a40f 100644
--- a/sonar-ws/src/main/protobuf/ws-organizations.proto
+++ b/sonar-ws/src/main/protobuf/ws-organizations.proto
@@ -53,6 +53,16 @@ message AddMemberWsResponse {
optional User user = 1;
}
+// WS api/organizations/prevent_user_deletion
+message PreventUserDeletionWsResponse {
+ repeated Organization organizations = 1;
+
+ message Organization {
+ optional string key = 1;
+ optional string name = 2;
+ }
+}
+
message Organization {
optional string key = 1;
optional string name = 2;