aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main/protobuf/ws-permissions.proto
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-ws/src/main/protobuf/ws-permissions.proto')
-rw-r--r--sonar-ws/src/main/protobuf/ws-permissions.proto16
1 files changed, 15 insertions, 1 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-permissions.proto b/sonar-ws/src/main/protobuf/ws-permissions.proto
index f68c26c792f..151b3fa1423 100644
--- a/sonar-ws/src/main/protobuf/ws-permissions.proto
+++ b/sonar-ws/src/main/protobuf/ws-permissions.proto
@@ -32,9 +32,23 @@ message UsersResponse {
message User {
optional string login = 1;
optional string name = 2;
- optional bool selected = 4;
+ optional bool selected = 3;
}
repeated User users = 1;
optional sonarqube.ws.commons.Paging paging = 2;
}
+
+// WS api/permissions/groups for internal use only
+message GroupsResponse {
+
+ message Group {
+ optional string id = 1;
+ optional string name = 2;
+ optional string description = 3;
+ optional bool selected = 4;
+ }
+
+ repeated Group groups = 1;
+ optional sonarqube.ws.commons.Paging paging = 2;
+}