cancel
Showing results for 
Search instead for 
Did you mean: 

filtering people on simple workflow

nua76
Champ on-the-rise
Champ on-the-rise
hi community , anybody has an idea how to do this :

alfresco/ share  version 4

let's said , 3 sites  ,  site projet A , site projet B and  site Projet C

In projet A /  2 users   USERA & USERB
In projet B /  2 users   USERA &  USERC
In Projet C /  2 users   USERA  & USERD

I'am logged as USERC  with contributor role on Projet B and with no access to projet A&C

if i'm  starting a simple workflow on a document , i can decide to assign the workflow to USERA or USERB and USERD even if i'm not member of projet A&C

so how can i do this
when starting the search people in the simple workflow popup , i would like to see only people register to the current site  "ProjetB" i'm working on
in this exemple , it will display only USERA
2 REPLIES 2

afaust
Legendary Innovator
Legendary Innovator
Hello,

unfortunately, I don't know of any way to achieve this with the OOTB form / search controls - the context is simply not present / provided for the current backend web scripts to filter out "unwanted" people. You would have to write your own data web script for the search and write your own / adapt the existing form / search controls.

Regards
Axel

nua76
Champ on-the-rise
Champ on-the-rise
Dear Axel,

ok , i understood  , i was thinking to another way

1 site  =  1 group , so i will create one group for each site

site 1 " projet A " = group 1   member User A and user B
site 2 " projet B"= group 2     member user A and user C
site 3 " projet C" = group 3   member user A and user c

I'am logged as USERC with contributor role on Projet B and with no access to projet A&C

is there a way to do this
check my uid user number ( in this case user c ) check if this uid user number is member of a group  if  yes  show group member to assign group (  or the best show people  from goup member to assign people )  if no uid is found  abord workblow process

what do you think ?