mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Merged 5.0.N (5.0.3) to HEAD (5.1/Cloud)
109077: Merged V4.2-BUG-FIX (4.2.6) to 5.0.N (5.0.3) 108983: MNT-9839: CMIS TCK Failures: Fix for hundreds of warnings regarding missing ACL exact flag in atom binding. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@109146 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1579,6 +1579,7 @@ public class CMISConnector implements ApplicationContextAware, ApplicationListen
|
||||
{
|
||||
// association have no ACL - return an empty list of ACEs
|
||||
result.setAcl(new AccessControlListImpl((List<Ace>) Collections.EMPTY_LIST));
|
||||
result.setIsExactAcl(Boolean.FALSE);
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -1614,7 +1615,12 @@ public class CMISConnector implements ApplicationContextAware, ApplicationListen
|
||||
@Override
|
||||
public Void doWork() throws Exception
|
||||
{
|
||||
result.setAcl(getACL(info.getCurrentNodeNodeRef(), false));
|
||||
Acl acl = getACL(info.getCurrentNodeNodeRef(), false);
|
||||
if (acl != null)
|
||||
{
|
||||
result.setAcl(acl);
|
||||
result.setIsExactAcl(acl.isExact());
|
||||
}
|
||||
return null;
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user