Repair Portal user-role assignment 99/18599/1
authorChristopher Lott (cl778h) <clott@research.att.com>
Thu, 12 Oct 2017 17:03:57 +0000 (13:03 -0400)
committerChristopher Lott (cl778h) <clott@research.att.com>
Thu, 12 Oct 2017 17:04:35 +0000 (13:04 -0400)
Issue: PORTAL-125
Change-Id: Ib8006c301d059d954b681a11a955924843548c6b
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
ecomp-portal-BE-common/src/main/java/org/openecomp/portalapp/portal/service/UserRolesCommonServiceImpl.java
ecomp-portal-BE-os/README.md

index 110bf2e..f5bdca7 100644 (file)
@@ -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);
 
        }
 
index ae48fcd..4e94f6b 100644 (file)
@@ -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