diff options
Diffstat (limited to 'sonar-ws/src/main/protobuf/ws-permissions.proto')
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-permissions.proto | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-permissions.proto b/sonar-ws/src/main/protobuf/ws-permissions.proto index ffdcfb44901..86b87c314f0 100644 --- a/sonar-ws/src/main/protobuf/ws-permissions.proto +++ b/sonar-ws/src/main/protobuf/ws-permissions.proto @@ -104,6 +104,12 @@ message WsUpdatePermissionTemplateResponse { } message WsSearchTemplatesResponse { - repeated PermissionTemplate permissionTemplates = 2; + message TemplateIdQualifier { + optional string templateId = 1; + optional string qualifier = 2; + } + + repeated PermissionTemplate permissionTemplates = 1; + repeated TemplateIdQualifier defaultTemplates = 2; repeated Permission permissions = 3; } |