From 2a21098c4799dc4245d9079e9235e950ec37318a Mon Sep 17 00:00:00 2001 From: Sudarshan Kumar Date: Thu, 26 Mar 2020 14:06:00 +0530 Subject: Fixed Portal-SDK Role Active-Inactive toggle Issue Fixed Portal-SDK Role Active-Inactive toggle Issue Issue-ID: PORTAL-861 Change-Id: I29cedf9c1035f951be88fae040c530ea6b239bf0 Signed-off-by: Sudarshan Kumar --- .../src/main/java/org/onap/portalapp/controller/core/RoleController.java | 1 + 1 file changed, 1 insertion(+) (limited to 'ecomp-sdk/epsdk-app-common/src') diff --git a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/core/RoleController.java b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/core/RoleController.java index d555ba46..6ee84dd5 100644 --- a/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/core/RoleController.java +++ b/ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/core/RoleController.java @@ -171,6 +171,7 @@ public class RoleController extends RestrictedBaseController { domainRole = roleService.getRole(user.getOrgUserId(), role.getId()); domainRole.setName(role.getName()); domainRole.setPriority(role.getPriority()); + domainRole.setActive(role.getActive()); } else { doAuditLog("saveRole: creating new role", role.getName()); -- cgit 1.2.3-korg