aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorAurelien Poscia <aurelien.poscia@sonarsource.com>2023-03-07 17:36:32 +0100
committersonartech <sonartech@sonarsource.com>2023-03-22 20:04:06 +0000
commit49718115f5c3487cf821767cba17d5552ed278ab (patch)
tree288db214bae1f2f9c283391eb97cf80b628d679a /sonar-ws
parent43cf9933e690a773d4d3477e2584ff43aa02e7ac (diff)
downloadsonarqube-49718115f5c3487cf821767cba17d5552ed278ab.tar.gz
sonarqube-49718115f5c3487cf821767cba17d5552ed278ab.zip
SONAR-18656 Identify managed users and groups
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/protobuf/ws-permissions.proto2
-rw-r--r--sonar-ws/src/main/protobuf/ws-user_groups.proto1
-rw-r--r--sonar-ws/src/main/protobuf/ws-users.proto1
3 files changed, 4 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-permissions.proto b/sonar-ws/src/main/protobuf/ws-permissions.proto
index 53acf4d8ec4..d236247354c 100644
--- a/sonar-ws/src/main/protobuf/ws-permissions.proto
+++ b/sonar-ws/src/main/protobuf/ws-permissions.proto
@@ -121,6 +121,7 @@ message User {
optional string email = 3;
repeated string permissions = 4;
optional string avatar = 5;
+ optional bool managed = 6;
}
message OldGroup {
@@ -135,4 +136,5 @@ message Group {
optional string name = 2;
optional string description = 3;
repeated string permissions = 4;
+ optional bool managed = 5;
}
diff --git a/sonar-ws/src/main/protobuf/ws-user_groups.proto b/sonar-ws/src/main/protobuf/ws-user_groups.proto
index bb5e07a7921..87846edf58d 100644
--- a/sonar-ws/src/main/protobuf/ws-user_groups.proto
+++ b/sonar-ws/src/main/protobuf/ws-user_groups.proto
@@ -49,4 +49,5 @@ message Group {
optional string description = 4;
optional int32 membersCount = 5;
optional bool default = 6;
+ optional bool managed = 7;
}
diff --git a/sonar-ws/src/main/protobuf/ws-users.proto b/sonar-ws/src/main/protobuf/ws-users.proto
index cac3168f8d6..d8ba5a43868 100644
--- a/sonar-ws/src/main/protobuf/ws-users.proto
+++ b/sonar-ws/src/main/protobuf/ws-users.proto
@@ -44,6 +44,7 @@ message SearchWsResponse {
optional string externalProvider = 10;
optional string avatar = 11;
optional string lastConnectionDate = 12;
+ optional bool managed = 13;
}
message Groups {