As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<#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. …
NodeRef parentNodeRef = nodeService.getPrimaryParent(node.getNodeRef()).getParentRef(); permissionService.hasPermission(parentNodeRef, …);