Hi,
I understood. I didn't try lucene search, but as you said, it works the same like ordinary search in Alfresco Explorer search control. User gets folders in search results no mater if he have rights on parent folder, it is ok.
But did you even try to use Alfresco Share? (I have information that Alfresco will develop further Share app, Explorer will only be maintained until the EOL)
If I try to use the same settings on Alfresco Share, and if my root "Company Document" folder is created as site (Alfresco site is normal folder, with some additional features - e.g. users get better preview in A.Share, with wiki, site dashboard,etc), there is no way to setup the same configuration.
If I setup "Company Documents" folder not to inherit "Everybody-Consumer" (because everybody will not have rights to search all documents in company), users will not have option to see site at all! (my expectation was that users will see the site, but only containing folders that are allowed for them). So, I tried to allow "Everybody-Consumer" to site "Company Documents", but to disallow inheritance to one level bellow (folder "documentLibrary" which is automatically created under site), and to allow to "documentLibrary" my custom security policy (director-consumer etc), which should be inherited. So, my beyond folder levels (HR documents, IT documents) should inherit director-consumer, and add security settings for their own groups which should have access to them.
But, this settings do not work at all! I get "no documents" message for each user (only director can see documents because he has rights on parent folder "documentLibrary").
So, my conclusion is that I'm trying to setup very basic thing in Alfresco (inheritance with security model) and I have no idea to setup that in Alfresco Share.
In Alfresco Explorer it is possible with search feature, in Share, I don't see the option.
Best regards,
Ivana