We need to clarify the identity model. In my view, groups are related to organizational structures. They are less prone to change than the people enrolled in them. This is why assigning to groups offers more flexibility. When a task is assigned to a group, the actorId property should be set, rather than the pooledActorArray. The meaning is that the task is shared by all members of that group, whoever they are. This way new members can quickly get involved with the responsibilities of the group.
It follows that the findTasksByActorId(actorId) query should retrieve tasks assigned to that actorId plus tasks assigned to each group that actor belongs. In fact, things already work like that: Conversely, assignment to specific members of a group should be regarded as personal assignments (i.e. with names of specific individuals) to be shared among players of similar roles in the organization. The question is, what is the right picture of the identity model? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921391#3921391 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921391 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user