From 2b54518c31980e98d8dcee67e90c6e48e7f0c7e4 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Wed, 4 Sep 2019 15:52:26 +0000 Subject: [PATCH] ref 17169: Selection of users in the Sharing panel https://support.d4science.org/issues/17169 Updated DialogPermission to support SH calls git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@181500 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../user/workspace/client/view/sharing/DialogPermission.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/workspace/client/view/sharing/DialogPermission.java b/src/main/java/org/gcube/portlets/user/workspace/client/view/sharing/DialogPermission.java index 0e2023b..6c798a8 100644 --- a/src/main/java/org/gcube/portlets/user/workspace/client/view/sharing/DialogPermission.java +++ b/src/main/java/org/gcube/portlets/user/workspace/client/view/sharing/DialogPermission.java @@ -141,10 +141,10 @@ public class DialogPermission extends Dialog { public void componentSelected(ButtonEvent ce) { INSTANCE.mask("Changing permissions"); - if (folder != null && getSelectedACL().getId() != null) { + if (folder != null && getSelectedACL().getAclType() != null) { WorkspaceSharingServiceAsync.INSTANCE.updateACLForVREbyGroupName(folder.getIdentifier(), - getSelectedACL().getId(), new AsyncCallback() { + getSelectedACL().getAclType(), new AsyncCallback() { @Override public void onFailure(Throwable caught) {