cancel
Showing results for 
Search instead for 
Did you mean: 

how to restrict people search - share 4.0

nua76
Champ on-the-rise
Champ on-the-rise
hello ,

my story  

1  group call supplier  with 2 users  A and  B
1  group call  customer with 2 users C and D

2 sites
first one call supplier
second one call customer

group supplier  have no access to  customer site
group customer have no acces to  supplier site

i’m connected has  “A” so group supplier

In  people  , how to restrict search to people  register in the same group than me

Result should be “B” only and not  b,c,d with my current config

Same for  workflow
I’am connected has “A”  , on a document , i’m starting a workflow  and in the “ assign popup” if i enter  *  , i can see  all user register in the portal
I would like to see only  “b” or only people  register in the same group than me

I want to do this for confidentiality reason

help welcome
5 REPLIES 5

jpotts
World-Class Innovator
World-Class Innovator
This is possible, but it requires some customization work. I've done it for a client, but I do not own that code. Unfortunately, it is more involved than I have the time or space to explain it here. But it can be done. I'll ask the client if I can share that piece, but it may take time. Until then…

You'll need to know a bit about how Alfresco uses client-side JavaScript components. Look at some of the examples in Share Extras and refer to JSDoc on Share Extras for the generated documentation on Alfresco's client-side components.

You'll also need to know how to override web scripts. Resources abound, but you might start with the official documentation on web scripts.

Sorry that you cannot do this out-of-the-box and that I do not have time to provide a detailed example. I hope this is at least somewhat helpful.

Jeff

nwali
Star Contributor
Star Contributor

‌ Could you elaborate on the changes you made to achieve this?

thanks

jpotts
World-Class Innovator
World-Class Innovator

This was 5 years ago, but basically I extended the client-side people picker component to call a different set of web scripts to get the people it uses to populate the picker. The web scripts it points to are custom web scripts that first determine what site the user is in and then only presents people in the picker who are members of the same site.

axel_baudin
Champ in-the-making
Champ in-the-making
Hi,
it is a little bit old but i've got the same problem.
I'm tring to restrict finding people in alfresco too.

Did you find a solution to hide supplier's users for customer's users ?

Thank you

scouil
Star Contributor
Star Contributor
As Jeff mentioned, it would imply quite a bit of work.

However, we now have Alfresco in the cloud.

If I assume that those users don't have the same email address domain, then they are in different network and have limited access to your public sites / people search / etc.
They basically have access to nothing in your network except the site they were invited to.

So instead of starting those customisations on your on-premise instance, I would advise you to look at Alfresco in the cloud and see if it fits your needs. I hope it does.