[ 
http://jira.nuxeo.org/browse/NXP-3273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50552#action_50552
 ] 

Alexandre Russel commented on NXP-3273:
---------------------------------------

Added 3 methods:
List<TaskInstance> getTaskInstances(DocumentModel dm, List<String> actors,  
JbpmActorsListFilter jbpmActorsListFilter) throws NuxeoJbpmException;
List<ProcessInstance> getCurrentProcessInstances(List<String> actors,  
JbpmActorsListFilter filter) throws NuxeoJbpmException;
List<TaskInstance> getCurrentTaskInstances(List<String> actors, 
JbpmActorsListFilter filter) throws NuxeoJbpmException;

This method: JbpmService#getTaskInstances(Long 
processInstanceId,Collection<String> actors, JbpmListFilter filter) 
we could just add a filter on  JbpmService#getTaskInstances(Long 
processInstanceId, NuxeoPrincipal principal, JbpmListFilter filter) as, in this 
method, the principal is just used for argument of the filter.

We keep the previous methods with NuxeoPrincipal for compatibility and usefull 
short cut (most use case will want to use it) 

> add the possibility to attribute task on permission (or other properties)
> -------------------------------------------------------------------------
>
>                 Key: NXP-3273
>                 URL: http://jira.nuxeo.org/browse/NXP-3273
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>            Reporter: Alexandre Russel
>            Assignee: Alexandre Russel
>         Attachments: jbpm-service-fragment.java
>
>
> In the JbpmService, when getting a user's tasks, the considered tasks
> are those with actor id or pooled actor id like "user:theUser" or
> "group:oneOfTheUserGroup".
> Would it make sense to have a mechanism enabling permission assignation
> for tasks ? Actor id / pooled actor id could be something like
> "permission:aSpecificPermissionRequiredOnDoc".

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to