diff --git a/distro/changelog.xml b/distro/changelog.xml index 69324f5..7607f8a 100644 --- a/distro/changelog.xml +++ b/distro/changelog.xml @@ -5,8 +5,10 @@ [Feature #11331] Field repeatability: support for catalogue widget - [Task #12480] Data Catalogue Publishing widget: filter the VREs for the working gateway - widget + [Task #12480] Data Catalogue Publishing widget: filter the + VREs for the working gateway widget + + [Feature #17577] Modify ckan-metadata-publisher-widget posts to cite people with @username "+userFullName+ " "; + */ + + userFullName = "@"+username; // write writeProductPost( diff --git a/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/server/utils/CatalogueRoleManager.java b/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/server/utils/CatalogueRoleManager.java index 5998085..bf218e8 100644 --- a/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/server/utils/CatalogueRoleManager.java +++ b/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/server/utils/CatalogueRoleManager.java @@ -61,6 +61,7 @@ public class CatalogueRoleManager { logger.debug("Group id is " + currentGroupId + " and scope is " + currentScope + "and gateway is "+gatewayHostname); Set groups; + //Updated by Francesco see Task #12480 if(gatewayHostname!=null && !gatewayHostname.isEmpty()) { // retrieve the list of organizations for the current user filtered for gateway groups = groupManager.listGroupsByUserAndSite(userid, gatewayHostname);