summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-common
diff options
context:
space:
mode:
authorSunder Tattavarada <statta@research.att.com>2020-03-26 15:02:53 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-26 15:02:53 +0000
commit7d3ad2425c0a774179ddb522e741d977c3bcf992 (patch)
tree7c74326fa58f1db18af774bbc822abca3fca29db /ecomp-sdk/epsdk-app-common
parentc69a85ad86fd8c1050b0758a241a4a4b1931e432 (diff)
parent2a21098c4799dc4245d9079e9235e950ec37318a (diff)
Merge "Fixed Portal-SDK Role Active-Inactive toggle Issue"
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());