mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged 5.2.0 (5.2.0) to HEAD (5.2)
133137 rmunteanu: REPO-557: Retrieve Permissions For Node - Renamed field according to REST API code conventions git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@133393 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -2200,11 +2200,11 @@ public class NodesImpl implements Nodes
|
||||
}
|
||||
|
||||
// Check inherit from parent value and if it's changed set the new value
|
||||
if (nodePerms.isInheritanceEnabled() != null)
|
||||
if (nodePerms.getIsInheritanceEnabled() != null)
|
||||
{
|
||||
if (nodePerms.isInheritanceEnabled() != permissionService.getInheritParentPermissions(nodeRef))
|
||||
if (nodePerms.getIsInheritanceEnabled() != permissionService.getInheritParentPermissions(nodeRef))
|
||||
{
|
||||
permissionService.setInheritParentPermissions(nodeRef, nodePerms.isInheritanceEnabled());
|
||||
permissionService.setInheritParentPermissions(nodeRef, nodePerms.getIsInheritanceEnabled());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user