09-21-2007 12:04 PM
<#if child.parent.hasPermission("Read")>Error during processing of the template 'get(parent) failed on instance of org.alfresco.repo.template.TemplateNode'.
…
freemarker.template.TemplateModelException: get(parent) failed on instance of org.alfresco.repo.template.TemplateNode
…
Caused by: org.alfresco.repo.security.permissions.AccessDeniedException: Access Denied. You do not have the appropriate permissions to perform this operation.
…
09-28-2007 05:34 AM
12-03-2007 05:11 AM
NodeRef parentNodeRef = nodeService.getPrimaryParent(node.getNodeRef()).getParentRef();
permissionService.hasPermission(parentNodeRef, …);But if current user don't have READ permission on parent node, the first of both line throws an exception, and transaction is marked for rollback only. Alfresco release is 2.1.0E.12-03-2007 05:35 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.