mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.0 to HEAD
11498: Improvements to DM ACL upgrade 11502: Edit Details button text updated to Edit Site Details to avoid confusion 11503: ETHREEOH-577 - It is possible to create empty comment at document details page 11504: ETHREEOH-576 - Cannot create calendar event with name containing certain characters such as : / 11505: Merged V2.2 to V3.0 11337: Tidy up the deletion of unused ACEs when authorities are deleted - ETWOTWO-749 11339: Fix permission checks under RunAs to use the effective user's groups - ETWOTWO-753 11506: Fixed ETHREEOH-579: RuntimeExec can not handle commands and arguments that contains spaces git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12448 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1440,6 +1440,15 @@ public class HibernateNodeDaoServiceImpl extends HibernateDaoSupport implements
|
||||
node.getProperties().clear();
|
||||
node.getAspects().clear();
|
||||
|
||||
// delete ACLs
|
||||
|
||||
DbAccessControlList dbAcl = node.getAccessControlList();
|
||||
node.setAccessControlList(null);
|
||||
if(dbAcl != null)
|
||||
{
|
||||
getHibernateTemplate().delete(dbAcl);
|
||||
}
|
||||
|
||||
// Mark the node as deleted
|
||||
node.setDeleted(true);
|
||||
|
||||
|
Reference in New Issue
Block a user