git-svn-id: https://svn.d4science-ii.research-infrastructures.eu/gcube/branches/data-access/storagehub-webapp/1.0@173863 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
c962ddc98a
commit
c0b16ab0ba
|
@ -242,7 +242,6 @@ public class WorkspaceManager {
|
|||
try{
|
||||
ses = repository.getRepository().login(CredentialHandler.getAdminCredentials(context));
|
||||
Node trashNode = ses.getNode(trashPath.toPath());
|
||||
authChecker.checkWriteAuthorizationControl(ses, trashNode.getIdentifier(), false);
|
||||
List<Item> itemsToDelete = Utils.getItemList(trashNode, Excludes.ALL, null, true, null);
|
||||
trashHandler.removeNodes(ses, itemsToDelete);
|
||||
toReturn = trashNode.getIdentifier();
|
||||
|
|
Loading…
Reference in New Issue