MNT-22600 Nodes with security marks appear unfiltered on CMIS DB queries (#702)

* Change isUnfiltered to protected so we can extend it in enterprise
* Added test method to be able to do a cmis query test

Original commit in governance-services: e4e3235328
This commit is contained in:
evasques
2021-09-29 12:07:06 +01:00
committed by GitHub
parent 00565f3bc9
commit c5281d7f10
2 changed files with 18 additions and 2 deletions

View File

@@ -306,7 +306,7 @@ public class RMAfterInvocationProvider extends RMSecurityCommon
}
}
private boolean isUnfiltered(NodeRef nodeRef)
protected boolean isUnfiltered(NodeRef nodeRef)
{
return !nodeService.hasAspect(nodeRef, RecordsManagementModel.ASPECT_FILE_PLAN_COMPONENT);