minor fix for no longer available scope_ckan variable in http session
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@134688 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
f396335109
commit
90eda1a95b
|
@ -3500,10 +3500,7 @@ public class GWTWorkspaceServiceImpl extends RemoteServiceServlet implements GWT
|
|||
|
||||
// retrieve scope per current portlet url
|
||||
String scopePerCurrentUrl = ApplicationProfileScopePerUrlReader.getScopePerUrl(currentPortletUrl);
|
||||
|
||||
// save it
|
||||
//TODO: commit SessionCatalogueAttributes on nexus and uncomment the line below
|
||||
//this.getThreadLocalRequest().getSession().setAttribute(SessionCatalogueAttributes.SCOPE_CLIENT_PORTLET_URL, scopePerCurrentUrl);
|
||||
this.getThreadLocalRequest().getSession().setAttribute(currentPortletUrl, scopePerCurrentUrl);
|
||||
|
||||
// get key per scope
|
||||
String keyPerScopeRole = UtilMethods.concatenateSessionKeyScope(SessionCatalogueAttributes.CKAN_PUBLISH_WORKSPACE, scopePerCurrentUrl);
|
||||
|
|
|
@ -325,4 +325,5 @@ public class UserUtil {
|
|||
}
|
||||
return RolesCkanGroupOrOrg.MEMBER;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue