Changeset 451


Ignore:
Timestamp:
30 Aug 2006, 10:23:29 (18 years ago)
Author:
Henrik Bettermann
Message:

second correction

Location:
WAeUP_SRP/trunk/profiles/default/workflows/waeup_student_wf
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/workflows/waeup_student_wf/definition.xml

    r450 r451  
    6767   <guard-role>Manager</guard-role>
    6868   <guard-role>SectionManager</guard-role>
     69   <guard-role>AdmissionOfficer</guard-role>
    6970  </guard>
    7071 </transition>
     
    7778   <guard-role>Manager</guard-role>
    7879   <guard-role>SectionManager</guard-role>
     80   <guard-role>ClearanceOfficer</guard-role>
    7981  </guard>
    8082 </transition>
     
    98100 <transition transition_id="enter_admission_pin" title=""
    99101             new_state="admission_pin_entered"
    100              trigger="USER" before_script=""
     102             trigger="USER"
     103             before_script="validate_admission_pin"
    101104             after_script="open_admission">
    102105 
     
    104107   <guard-role>Manager</guard-role>
    105108   <guard-role>SectionManager</guard-role>
     109   <guard-role>Owner</guard-role>
    106110  </guard>
    107111 </transition>
    108112 <transition transition_id="enter_clearance_pin" title=""
    109113             new_state="clearance_pin_entered"
    110              trigger="USER" before_script="" after_script="">
    111  
    112   <guard>
     114             trigger="USER"
     115             before_script="validate_clearance_pin"
     116             after_script="open_clearance">
     117 
     118  <guard>
     119   <guard-role>Manager</guard-role>
     120   <guard-role>SectionManager</guard-role>
     121   <guard-role>Owner</guard-role>
    113122  </guard>
    114123 </transition>
     
    118127 
    119128  <guard>
     129   <guard-role>Manager</guard-role>
     130   <guard-role>SectionManager</guard-role>
     131   <guard-role>ClearanceOfficer</guard-role>
    120132  </guard>
    121133 </transition>
     
    134146 
    135147  <guard>
     148   <guard-role>Manager</guard-role>
     149   <guard-role>SectionManager</guard-role>
     150   <guard-role>AdmissionOfficer</guard-role>
    136151  </guard>
    137152 </transition>
     
    141156 
    142157  <guard>
     158   <guard-role>Manager</guard-role>
     159   <guard-role>SectionManager</guard-role>
     160   <guard-role>AdmissionOfficer</guard-role>
    143161  </guard>
    144162 </transition>
     
    148166 
    149167  <guard>
     168   <guard-role>Manager</guard-role>
     169   <guard-role>SectionManager</guard-role>
     170   <guard-role>AdmissionOfficer</guard-role>
    150171  </guard>
    151172 </transition>
     
    158179   <guard-role>Manager</guard-role>
    159180   <guard-role>SectionManager</guard-role>
     181   <guard-role>ClearanceOfficer</guard-role>
    160182  </guard>
    161183 </transition>
     
    167189   <guard-role>Manager</guard-role>
    168190   <guard-role>SectionManager</guard-role>
     191   <guard-role>Owner</guard-role>
    169192  </guard>
    170193 </transition>
     
    176199   <guard-role>Manager</guard-role>
    177200   <guard-role>SectionManager</guard-role>
     201   <guard-role>Owner</guard-role>
    178202  </guard>
    179203 </transition>
     
    190214 <script script_id="open_personal" type="Script (Python)"
    191215         filename="workflows/waeup_student_wf/scripts/open_personal.py"/>
     216 <script script_id="validate_admission_pin"
     217         type="Script (Python)"
     218         filename="workflows/waeup_student_wf/scripts/validate_admission_pin.py"/>
     219 <script script_id="validate_clearance_pin"
     220         type="Script (Python)"
     221         filename="workflows/waeup_student_wf/scripts/validate_clearance_pin.py"/>
    192222</cps-workflow>
Note: See TracChangeset for help on using the changeset viewer.