aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main/protobuf/ws-permissions.proto
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-08-05 17:40:47 +0200
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-08-06 12:16:40 +0200
commit966ceab8329ba91c481c25deae55d7cf8266ee3d (patch)
treecbbf39880d09f62be51749f4a2a26207e701afd7 /sonar-ws/src/main/protobuf/ws-permissions.proto
parentd7806d395ca2fcd7cf42972edc37bdf8330e7db8 (diff)
downloadsonarqube-966ceab8329ba91c481c25deae55d7cf8266ee3d.tar.gz
sonarqube-966ceab8329ba91c481c25deae55d7cf8266ee3d.zip
SONAR-6482 WS permissions/groups list permission's groups
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;
+}