mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
RM-1429 (The user with read-only permissions on the item can unfreeze it via deleting hold)
* Fixing the failing unit tests git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@72302 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -418,6 +418,7 @@ public class HoldServiceImpl extends ServiceBaseImpl
|
|||||||
throw new AlfrescoRuntimeException("Can't delete hold, becuase passed node is not a hold. (hold=" + hold.toString() + ")");
|
throw new AlfrescoRuntimeException("Can't delete hold, becuase passed node is not a hold. (hold=" + hold.toString() + ")");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
List<NodeRef> held = getHeld(hold);
|
List<NodeRef> held = getHeld(hold);
|
||||||
List<String> heldNames = new ArrayList<String>();
|
List<String> heldNames = new ArrayList<String>();
|
||||||
for (NodeRef nodeRef : held)
|
for (NodeRef nodeRef : held)
|
||||||
@@ -438,6 +439,7 @@ public class HoldServiceImpl extends ServiceBaseImpl
|
|||||||
}
|
}
|
||||||
throw new AlfrescoRuntimeException("Can't delete hold, because filing permissions for the following items are needed: " + sb.toString());
|
throw new AlfrescoRuntimeException("Can't delete hold, because filing permissions for the following items are needed: " + sb.toString());
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// delete the hold node
|
// delete the hold node
|
||||||
nodeService.deleteNode(hold);
|
nodeService.deleteNode(hold);
|
||||||
|
Reference in New Issue
Block a user