I am using Alfresco Community 5.0.d.
Currently when a userA who is not a member of any site, search's for any member in people finder then result comes up combined from all sites members (siteA + siteB) and when userA is member of siteA then on people finder search result pop's up combined of siteA + siteB.
How to restrict the search to within site member's only? i.e., when userA who is member of siteA search using people finder then result should come from siteA only and not from all.
Thanks
See the answers to this question: Hide users to members - it's more or less the same, certainly it's what my solution does.
OK - I'll just repeat that it's not easy.
The github project referenced does do what you're after, but it wasn't designed to be shared and does some other restrictive stuff as well.
You're welcome to use my code as a basis for your own solution but you'd want to strip it down further and test it thoroughly in your environment.
Ian Wright Just for your information: Douglas C. R. Paes already brought up your GitHub repository / customisation in this previous question the same topic by the same user.
Cross-posted on Stack: Limit the people finder search in alfresco community 5.0.d - Stack Overflow
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.