mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merge remote-tracking branch 'origin/release/V2.2.0.x' into feature-2.2/merge-2.2.0.1
This commit is contained in:
@@ -1738,4 +1738,4 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
|
||||
{
|
||||
auditEvent(nodeRef, action.getName());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -379,4 +379,4 @@ public class FreezeServiceImpl extends ServiceBaseImpl
|
||||
// create hold
|
||||
return getHoldService().createHold(filePlan, holdName, reason, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -153,4 +153,4 @@ public class AuditLogGet extends BaseAuditRetrievalWebScript
|
||||
return AccessStatus.ALLOWED.equals(
|
||||
capabilityService.getCapabilityAccessState(targetNode, ACCESS_AUDIT_CAPABILITY));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -212,4 +212,4 @@ public abstract class BaseTransferWebScript extends StreamACP
|
||||
|
||||
return itemsToTransfer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -342,4 +342,4 @@ public class UserRightsReportGet extends DeclarativeWebScript
|
||||
this.users.add(userName);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -442,4 +442,4 @@ public class RMSearchGet extends DeclarativeWebScript
|
||||
return properties;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -124,9 +124,10 @@ public class RMPermissionServiceImpl extends PermissionServiceImpl
|
||||
{
|
||||
return super.hasPermission(nodeRef, RMPermissionModel.READ_RECORDS);
|
||||
}
|
||||
else if (AccessStatus.DENIED.equals(acs) == true &&
|
||||
PermissionService.WRITE.equals(perm) == true &&
|
||||
nodeService.hasAspect(nodeRef, RecordsManagementModel.ASPECT_FILE_PLAN_COMPONENT) == true)
|
||||
// Added ADD_CHILDREN check in for MNT-16852.
|
||||
else if (AccessStatus.DENIED.equals(acs) &&
|
||||
(PermissionService.WRITE.equals(perm) || PermissionService.ADD_CHILDREN.equals(perm)) &&
|
||||
nodeService.hasAspect(nodeRef, RecordsManagementModel.ASPECT_FILE_PLAN_COMPONENT))
|
||||
{
|
||||
return super.hasPermission(nodeRef, RMPermissionModel.FILE_RECORDS);
|
||||
}
|
||||
|
Reference in New Issue
Block a user