sakaiproject/sparsemapcontent — pull request #59 by mrvisser (2012-04-21 16:47:20+00:00)
Title: SPARSE-189 Allow users to delete children of nodes on which they have wr...

...ite permissions, without having explicit delete permissions on the children.

* Created "checkCanDelete" method which checks both delete on the target node, and "write" permissions on its parent
* Created "checkCanMove", which factors in the "checkCanDelete" check for the source content so that content may be published and deleted from the tmp_* location
* Altered the moveAcl check to fail sooner if the user doesn't have access to move acl's. previously it checked the content permissions, not the acl permissions
* Failing silently during the move operation if 'moveAcl' permissions checks fails, as this is not necessarily a required prerequisite to moving the content