fixed change permissions to VRE folder

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@92755 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2014-03-06 14:32:49 +00:00
parent 293828ba8d
commit 33600c4d89
2 changed files with 2 additions and 1 deletions

View File

@ -943,7 +943,7 @@ public class AppController implements SubscriberInterface {
dialog.mask("Changing permissions");
if(dialog!=null && folder!=null && dialog.getSelectedACL().getId()!=null){
AppControllerExplorer.rpcWorkspaceService.setACLForVRE(folder.getIdentifier(), dialog.getSelectedACL().getId(), new AsyncCallback<Void>() {
AppControllerExplorer.rpcWorkspaceService.updateACLForVREbyGroupIds(folder.getIdentifier(), dialog.getSelectedACL().getId(), new AsyncCallback<Void>() {
@Override
public void onFailure(Throwable caught) {

View File

@ -669,6 +669,7 @@ public class GxtToolBarItemFunctionality {
this.btnRemoveItem.disable();
this.btnRenameItem.disable();
this.btnSetPermission.enable();
this.btnRefreshFolder.enable();
}
}