Hot to reproduce ?
Install an Alfresco 4.1.4 AOB
Configure “ system.acl.maxPermissionChecks=10” in alfresco-global.properties
Create a new user ex: “phil”
Log in as “phil”
Using SHARE, with simple search search for “alfresco”.
More than 100 are returned in the ResultSet and displayed.
ResultSet should be truncated at 10 element
With SHARE in java rebug, have a look at SolrQueryHttpClient line 241. If system.acl.maxPermissionChecks is configured, limitBy = LimitBy.NUMBER_OF_PERMISSION_EVALUATIONS should be set. It is not the case, therefore maxPermissionChecks value is not tansferred to SOLR.