[jboss-user] [JBoss jBPM] - task assignment when using hierarchical user groups

bert.w do-not-reply at jboss.com
Wed Sep 6 05:52:40 EDT 2006


Hi,

I am using the identity component to organise the users that use my application.

I made a hierarchical order like this:
group: all
       --> group: division1
       --> group: division2
       --> group: division3

also there are 2 kinds of roles a user can have. "gebruiker" or "hoofdgebruiker"

The problem i have is when i use this assignment for a task:
<assignment expression="group(all) --> member(hoofdgebruiker)" />
it only assigns the "hoofdgebruiker" users that are a member of the parent group "all", but not the "hoofdgebruiker" users that are in the subgroups.

Is there an expression to achieve this? Or is the only solution changing the Group.getUsers() method, to make this return also the users in the subgroups?

thanks,
BERT

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969673#3969673

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969673



More information about the jboss-user mailing list