diff --git a/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/view/GCubeCkanDataCatalogPanel.java b/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/view/GCubeCkanDataCatalogPanel.java index ea9d295..ab8a5d0 100644 --- a/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/view/GCubeCkanDataCatalogPanel.java +++ b/src/main/java/org/gcube/portlets/gcubeckan/gcubeckandatacatalog/client/view/GCubeCkanDataCatalogPanel.java @@ -5,6 +5,7 @@ package org.gcube.portlets.gcubeckan.gcubeckandatacatalog.client.view; import org.gcube.portlets.gcubeckan.gcubeckandatacatalog.client.GCubeCkanDataCatalog; import org.gcube.portlets.gcubeckan.gcubeckandatacatalog.client.resource.CkanPortletResources; +import org.gcube.portlets.gcubeckan.gcubeckandatacatalog.shared.CkanRole; import com.google.gwt.core.shared.GWT; import com.google.gwt.event.logical.shared.ResizeEvent; @@ -67,7 +68,7 @@ public class GCubeCkanDataCatalogPanel extends BaseViewTemplate{ //MANAGE CKAN MANAGEMENT PANEL ACCORDING TO MY ROLE - /*GCubeCkanDataCatalog.service.getMyRole(new AsyncCallback() { + GCubeCkanDataCatalog.service.getMyRole(new AsyncCallback() { @Override public void onFailure(Throwable caught) { @@ -93,7 +94,7 @@ public class GCubeCkanDataCatalogPanel extends BaseViewTemplate{ break; } } - });*/ + }); Window.addResizeHandler(new ResizeHandler() {