AnsweredAssumed Answered

how to modify the people search during site invite?

Question asked by movaxbx on Mar 28, 2014
Latest reply on Apr 15, 2014 by lementree

I am a new developer trying out Alfresco, I have managed to to customize a few simple headers and menu items. I have been reading the documentation on webscripts and fairly have an idea on how do what I need to do: when user searches for other users during invite, he can only see users of the same organization as he is. I just need some guidance to see if i'm doing this right.

basic idea of doing it is by extending people-finder with the code below:

if (!user.isAdmin) {
     // for loop here enclosing code below
       if (items.organization ==["cm:organization"]) {

I got this idea from <a href="">this forum thread</a>.