01-05-2017 10:39 AM
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
01-05-2017 11:15 AM
See the answers to this question: Hide users to members - it's more or less the same, certainly it's what my solution does.
01-05-2017 11:29 AM
01-05-2017 11:47 AM
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.
01-05-2017 12:01 PM
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.
01-06-2017 06:37 PM
Cross-posted on Stack: Limit the people finder search in alfresco community 5.0.d - Stack Overflow
Explore our Alfresco products with the links below. Use labels to filter content by product module.