From 13b38dbfdcc4f16bfe9e7179940304aa3a351076 Mon Sep 17 00:00:00 2001 From: Ofir Sonsino Date: Wed, 4 Oct 2017 12:32:47 +0300 Subject: get service models from SDC - Fix Change-Id: I936482305790ca9b01ad5d9c8c804cb8df814f91 Issue-ID: VID-74 Signed-off-by: Ofir Sonsino --- .../src/main/java/org/openecomp/vid/controller/VidController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vid-app-common/src/main/java/org/openecomp/vid/controller/VidController.java') diff --git a/vid-app-common/src/main/java/org/openecomp/vid/controller/VidController.java b/vid-app-common/src/main/java/org/openecomp/vid/controller/VidController.java index aac3a0b7..f21036eb 100755 --- a/vid-app-common/src/main/java/org/openecomp/vid/controller/VidController.java +++ b/vid-app-common/src/main/java/org/openecomp/vid/controller/VidController.java @@ -73,7 +73,8 @@ public class VidController extends RestrictedBaseController { Map requestParams = request.getParameterMap(); List roles = new RoleProvider().getUserRoles(request); secureServices.setServices(service.getServices(requestParams)); - secureServices.setReadOnly(roleProvider.userPermissionIsReadOnly(roles)); + //Disable roles until AAF integration finishes + //secureServices.setReadOnly(roleProvider.userPermissionIsReadOnly(roles)); return secureServices; } catch (AsdcCatalogException e) { LOG.error("Failed to retrieve service definitions from SDC", e); -- cgit 1.2.3-korg