0 Replies Latest reply on Apr 30, 2009 2:36 AM by Noureddine Dahmen

    management user's tasks

    Noureddine Dahmen Newbie

      Hello,

      I use jbpm3.2.3 and tried to give each task to a specific user using the "assignment". But it each user can perform all tasks even those who do it are not affected.

      I found this problem posted in several forums but I did not find an answer.

      Is there another way to manage permissions Jbpm and that each user can only perform its tasks.

      Thank you for your help.

      <?xml version="1.0" encoding="UTF-8"?>
      
      <process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="holiday-request">
      
      
       <start-state name="enter request">
       <task name="request entry">
       <assignment actor-id="user"></assignment>
       <controller>
       <variable access="read,write,required" name="start date"></variable>
       <variable access="read,write" name="duration"></variable>
       </controller>
       </task>
       <transition to="evaluate request" name="transmit"></transition>
       </start-state>
      
      
       <task-node name="evaluate request">
       <task name="request evaluation">
       <assignment actor-id="manager"></assignment>
       </task>
       <transition to="give additional info" name="more info needed"></transition>
       <transition to="end" name="approve/disapprove"></transition>
       </task-node>
      
       <task-node name="give additional info">
       <task name="additional info enter">
       <assignment actor-id="user"></assignment>
       <controller>
       <variable access="read,write" name="start date"></variable>
       <variable access="read,write" name="duration"></variable>
       <variable access="read,write" name="info"></variable>
       </controller>
       </task>
       <transition to="evaluate request"></transition>
       </task-node>
      
       <end-state name="end"></end-state>
      </process-definition>