mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
RM-452: RM seurity context will break core Alfresco if Alfresco's public services change
* unit test to show this working * added package for issue specific unit tests * fix to file plan service so that isFilePlanComponent works for non file plan artifacts git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54460 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -178,8 +178,8 @@ public class FilePlanServiceImpl extends ServiceBaseImpl
|
||||
public boolean isFilePlanComponent(NodeRef nodeRef)
|
||||
{
|
||||
boolean result = false;
|
||||
if (nodeService.exists(nodeRef) == true &&
|
||||
nodeService.hasAspect(nodeRef, ASPECT_FILE_PLAN_COMPONENT) == true)
|
||||
if (getInternalNodeService().exists(nodeRef) == true &&
|
||||
getInternalNodeService().hasAspect(nodeRef, ASPECT_FILE_PLAN_COMPONENT) == true)
|
||||
{
|
||||
result = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user