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
This commit is contained in:
parent
e4cac2c292
commit
2b54518c31
|
@ -141,10 +141,10 @@ public class DialogPermission extends Dialog {
|
||||||
public void componentSelected(ButtonEvent ce) {
|
public void componentSelected(ButtonEvent ce) {
|
||||||
|
|
||||||
INSTANCE.mask("Changing permissions");
|
INSTANCE.mask("Changing permissions");
|
||||||
if (folder != null && getSelectedACL().getId() != null) {
|
if (folder != null && getSelectedACL().getAclType() != null) {
|
||||||
|
|
||||||
WorkspaceSharingServiceAsync.INSTANCE.updateACLForVREbyGroupName(folder.getIdentifier(),
|
WorkspaceSharingServiceAsync.INSTANCE.updateACLForVREbyGroupName(folder.getIdentifier(),
|
||||||
getSelectedACL().getId(), new AsyncCallback<Void>() {
|
getSelectedACL().getAclType(), new AsyncCallback<Void>() {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onFailure(Throwable caught) {
|
public void onFailure(Throwable caught) {
|
||||||
|
|
Loading…
Reference in New Issue