ModeShape/modeshape — pull request #915 by hchiorean (2013-08-20 12:49:43+00:00)
Title: MODE-2009 Fixed the workspace.delete() operation 

The fix is made up of
a) checking of WORKSPACE_DELETE permissions
b) making sure the workspace is actually cleared and all nodes removed.

This last part was extremely tricky to implement because we need to be sure that everything is done atomically. It also exposed an additional problem regarding the retrieval of all the additional parents of a node.