mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged 5.2.0-CLOUD44 (Cloud ) to 5.2.N (5.2.1)
129940 jkaabimofrad: SFS-610: A fix for the V1 node API where listing children and including certain properties returned 403 in the Cloud context, when the owner is "admin@alfresco.com". git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130094 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -33,6 +33,7 @@ import java.util.Map;
|
|||||||
|
|
||||||
import org.alfresco.model.ContentModel;
|
import org.alfresco.model.ContentModel;
|
||||||
import org.alfresco.repo.security.authentication.AuthenticationUtil;
|
import org.alfresco.repo.security.authentication.AuthenticationUtil;
|
||||||
|
import org.alfresco.repo.security.permissions.AccessDeniedException;
|
||||||
import org.alfresco.rest.framework.resource.UniqueId;
|
import org.alfresco.rest.framework.resource.UniqueId;
|
||||||
import org.alfresco.service.ServiceRegistry;
|
import org.alfresco.service.ServiceRegistry;
|
||||||
import org.alfresco.service.cmr.repository.NodeRef;
|
import org.alfresco.service.cmr.repository.NodeRef;
|
||||||
@@ -162,6 +163,11 @@ public class Node implements Comparable<Node>
|
|||||||
{
|
{
|
||||||
// drop-through
|
// drop-through
|
||||||
}
|
}
|
||||||
|
catch (AccessDeniedException ade)
|
||||||
|
{
|
||||||
|
// SFS-610
|
||||||
|
// drop-through
|
||||||
|
}
|
||||||
|
|
||||||
if (pInfo != null)
|
if (pInfo != null)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user