summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-common
diff options
context:
space:
mode:
authorSudarshan Kumar <sudarshan.kumar@att.com>2020-03-26 14:06:00 +0530
committerSudarshan Kumar <sudarshan.kumar@att.com>2020-03-26 14:09:46 +0530
commit2a21098c4799dc4245d9079e9235e950ec37318a (patch)
tree5232c85c5b7c03dfece3fc08e0c5145bccc75dfe /ecomp-sdk/epsdk-app-common
parent20c95c7edd0861504b50cd86a65ce888b1c6efa6 (diff)
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 <sudarshan.kumar@att.com>
Diffstat (limited to 'ecomp-sdk/epsdk-app-common')
-rw-r--r--ecomp-sdk/epsdk-app-common/src/main/java/org/onap/portalapp/controller/core/RoleController.java1
1 files changed, 1 insertions, 0 deletions
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());