mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fix issue where export of inherit permissions was not performed if no explicit permissions had been set on a node.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2118 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -334,7 +334,8 @@ public class ExporterComponent
|
||||
|
||||
// Export node permissions
|
||||
Set<AccessPermission> permissions = permissionService.getAllSetPermissions(nodeRef);
|
||||
if (permissions.size() > 0)
|
||||
boolean inheritPermissions = permissionService.getInheritParentPermissions(nodeRef);
|
||||
if (permissions.size() > 0 || !inheritPermissions)
|
||||
{
|
||||
exporter.startACL(nodeRef);
|
||||
for (AccessPermission permission : permissions)
|
||||
|
Reference in New Issue
Block a user