From ae6315fe84629d67aff39cf5100ab81b94c781d7 Mon Sep 17 00:00:00 2001 From: "Sonsino, Ofir (os0695)" Date: Thu, 1 Nov 2018 19:22:47 +0200 Subject: Enable role management Change-Id: I08915fffa5da50c957d2f80ce88ef279fef3a1b2 Issue-ID: VID-257 Signed-off-by: Sonsino, Ofir (os0695) --- .../src/main/java/org/onap/vid/controllers/VidController.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'vid-app-common/src/main/java/org/onap/vid/controllers') diff --git a/vid-app-common/src/main/java/org/onap/vid/controllers/VidController.java b/vid-app-common/src/main/java/org/onap/vid/controllers/VidController.java index 6d6ffb31..3a3acd8e 100644 --- a/vid-app-common/src/main/java/org/onap/vid/controllers/VidController.java +++ b/vid-app-common/src/main/java/org/onap/vid/controllers/VidController.java @@ -106,9 +106,7 @@ public class VidController extends RestrictedBaseController { SecureServices secureServices = new SecureServices(); List roles = roleProvider.getUserRoles(request); secureServices.setServices(aaiService.getServicesByDistributionStatus()); - //Disable roles until AAF integration finishes - //secureServices.setReadOnly(roleProvider.userPermissionIsReadOnly(roles)); - secureServices.setReadOnly(false); + secureServices.setReadOnly(roleProvider.userPermissionIsReadOnly(roles)); return secureServices; } catch (Exception t) { -- cgit 1.2.3-korg