From ab1c5867bd8e93d095a571e9337f0979a4ddd924 Mon Sep 17 00:00:00 2001 From: "Christopher Lott (cl778h)" Date: Thu, 12 Oct 2017 13:03:57 -0400 Subject: [PATCH] Repair Portal user-role assignment Issue: PORTAL-125 Change-Id: Ib8006c301d059d954b681a11a955924843548c6b Signed-off-by: Christopher Lott (cl778h) --- .../portalapp/portal/service/UserRolesCommonServiceImpl.java | 2 +- ecomp-portal-BE-os/README.md | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ecomp-portal-BE-common/src/main/java/org/openecomp/portalapp/portal/service/UserRolesCommonServiceImpl.java b/ecomp-portal-BE-common/src/main/java/org/openecomp/portalapp/portal/service/UserRolesCommonServiceImpl.java index 110bf2ec..f5bdca77 100644 --- a/ecomp-portal-BE-common/src/main/java/org/openecomp/portalapp/portal/service/UserRolesCommonServiceImpl.java +++ b/ecomp-portal-BE-common/src/main/java/org/openecomp/portalapp/portal/service/UserRolesCommonServiceImpl.java @@ -1552,7 +1552,7 @@ public class UserRolesCommonServiceImpl { protected EPUser getUser(String userId, EPApp app, ApplicationsRestClientService applicationsRestClientService) throws HTTPException { - return applicationsRestClientService.get(EPUser.class, app.getId(), String.format("/user/%s", userId)); + return applicationsRestClientService.get(EPUser.class, app.getId(), String.format("/user/%s", userId), true); } diff --git a/ecomp-portal-BE-os/README.md b/ecomp-portal-BE-os/README.md index ae48fcd6..4e94f6b8 100644 --- a/ecomp-portal-BE-os/README.md +++ b/ecomp-portal-BE-os/README.md @@ -14,7 +14,7 @@ https://www.eclipse.org/m2e-wtp/ ## Release Notes -Version 1.1.0 (Amsterdam), November 2017 +Version 1.3.0 (Amsterdam), November 2017 - [Portal-6] Updates to License and Trademark in the PORTAL Source Code - [Portal-7] Improvements added as part of the rebasing process - [Portal-17] Remove jfree related items @@ -45,5 +45,7 @@ Version 1.1.0 (Amsterdam), November 2017 - [Portal-116] Empty Widgets on Home page - widget uploaded with a wrong format in db - [Portal-59] Fix to to display Portal users on User page - [Portal-127] Remove GreenSock license code from b2b library +- [Portal-125] Fixed the missing role assignment when adding a user in portal + Version 1.0.0, February 2017 - Initial release -- 2.16.6