aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main/protobuf/ws-permissions.proto
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-08-06 17:18:32 +0200
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-08-10 09:16:08 +0200
commitc644a4df6cb5d86ca51374e14010e883cb22ca5b (patch)
tree798f51694f31c344a3f1def63cbe10440a620c11 /sonar-ws/src/main/protobuf/ws-permissions.proto
parent63dd3a5315b7f435ef7b0ff246bc32f40b7f475f (diff)
downloadsonarqube-c644a4df6cb5d86ca51374e14010e883cb22ca5b.tar.gz
sonarqube-c644a4df6cb5d86ca51374e14010e883cb22ca5b.zip
SONAR-6478 WS permissions/search_global_permissions search for global permissions
Diffstat (limited to 'sonar-ws/src/main/protobuf/ws-permissions.proto')
-rw-r--r--sonar-ws/src/main/protobuf/ws-permissions.proto13
1 files changed, 13 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-permissions.proto b/sonar-ws/src/main/protobuf/ws-permissions.proto
index 151b3fa1423..92d1f7a7d8b 100644
--- a/sonar-ws/src/main/protobuf/ws-permissions.proto
+++ b/sonar-ws/src/main/protobuf/ws-permissions.proto
@@ -52,3 +52,16 @@ message GroupsResponse {
repeated Group groups = 1;
optional sonarqube.ws.commons.Paging paging = 2;
}
+
+message SearchGlobalPermissionsResponse {
+
+ message Permission {
+ optional string key = 1;
+ optional string name = 2;
+ optional string description = 3;
+ optional int32 usersCount = 4;
+ optional int32 groupsCount = 5;
+ }
+
+ repeated Permission globalPermissions = 1;
+}