aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main/protobuf/ws-permissions.proto
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-08-25 17:29:19 +0200
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-08-27 09:45:49 +0200
commit61050e0245725fc9fdca23825d49ccf3cfa2bba2 (patch)
tree9754b2df5f13f747f219e33b4070226c06ed3a40 /sonar-ws/src/main/protobuf/ws-permissions.proto
parent7fc1afc677e8507c440d499807b5437ea2ae76dc (diff)
downloadsonarqube-61050e0245725fc9fdca23825d49ccf3cfa2bba2.tar.gz
sonarqube-61050e0245725fc9fdca23825d49ccf3cfa2bba2.zip
SONAR-6496 WS permissions/create_template create a permission template
Diffstat (limited to 'sonar-ws/src/main/protobuf/ws-permissions.proto')
-rw-r--r--sonar-ws/src/main/protobuf/ws-permissions.proto15
1 files changed, 15 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-permissions.proto b/sonar-ws/src/main/protobuf/ws-permissions.proto
index 90a1559231b..411c8473ad9 100644
--- a/sonar-ws/src/main/protobuf/ws-permissions.proto
+++ b/sonar-ws/src/main/protobuf/ws-permissions.proto
@@ -81,3 +81,18 @@ message SearchProjectPermissionsResponse {
repeated Permission permissions = 2;
optional sonarqube.ws.commons.Paging paging = 3;
}
+
+message PermissionTemplate {
+ optional string key = 1;
+ optional string name = 2;
+ optional string description = 3;
+ optional string projectPattern = 4;
+ // ex: 2015-08-25T16:18:48+0200
+ optional string createdAt = 5;
+ // ex: 2015-08-25T16:18:48+0200
+ optional string updatedAt = 6;
+}
+
+message CreatePermissionTemplateResponse {
+ optional PermissionTemplate permissionTemplate = 1;
+}