Ignore:
Timestamp:
14 Nov 2006, 19:01:25 (18 years ago)
Author:
joachim
Message:

added student_wf_guard
modified waeup_student_wf to use it.
nothing tested yet, tomorrow more.

File:
1 edited

Legend:

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

    r862 r868  
    101101 
    102102  <guard>
    103    <guard-role>Manager</guard-role>
    104    <guard-role>SectionManager</guard-role>
     103   <guard-expression>python: context.student_wf_guard(transition,state_change)</guard-expression>
    105104  </guard>
    106105 </transition>
     
    110109 
    111110  <guard>
    112    <guard-role>Manager</guard-role>
    113    <guard-role>SectionManager</guard-role>
    114    <guard-role>Owner</guard-role>
     111   <guard-expression>python: context.student_wf_guard(transition,state_change)</guard-expression>
    115112  </guard>
    116113 </transition>
     
    120117 
    121118  <guard>
    122    <guard-role>Manager</guard-role>
    123    <guard-role>SectionManager</guard-role>
    124    <guard-role>ClearanceOfficer</guard-role>
     119   <guard-expression>python: context.student_wf_guard(transition,state_change)</guard-expression>
    125120  </guard>
    126121 </transition>
     
    139134 
    140135  <guard>
    141    <guard-role>Manager</guard-role>
    142    <guard-role>SectionManager</guard-role>
    143    <guard-role>Owner</guard-role>
     136   <guard-expression>python: context.student_wf_guard(transition,state_change)</guard-expression>
    144137  </guard>
    145138  <transition-behavior behavior_id="allow-sub-create"/>
     
    150143 
    151144  <guard>
    152    <guard-role>Manager</guard-role>
    153    <guard-role>SectionManager</guard-role>
     145   <guard-expression>python: context.student_wf_guard(transition,state_change)</guard-expression>
    154146  </guard>
    155147 </transition>
     
    159151 
    160152  <guard>
    161    <guard-role>Manager</guard-role>
    162    <guard-role>SectionManager</guard-role>
    163    <guard-role>Owner</guard-role>
     153   <guard-expression>python: context.student_wf_guard(transition,state_change)</guard-expression>
    164154  </guard>
    165155 </transition>
     
    169159 
    170160  <guard>
    171    <guard-role>Manager</guard-role>
    172    <guard-role>SectionManager</guard-role>
    173    <guard-role>Owner</guard-role>
     161   <guard-expression>python: context.student_wf_guard(transition,state_change)</guard-expression>
    174162  </guard>
    175163 </transition>
     
    179167 
    180168  <guard>
    181    <guard-role>Manager</guard-role>
    182    <guard-role>SectionManager</guard-role>
    183    <guard-role>ClearanceOfficer</guard-role>
     169   <guard-expression>python: context.student_wf_guard(transition,state_change)</guard-expression>
    184170  </guard>
    185171 </transition>
     
    189175 
    190176  <guard>
    191    <guard-role>Manager</guard-role>
    192    <guard-role>SectionManager</guard-role>
     177   <guard-expression>python: context.student_wf_guard(transition,state_change)</guard-expression>
    193178  </guard>
    194179 </transition>
     
    198183 
    199184  <guard>
    200    <guard-role>Manager</guard-role>
    201    <guard-role>SectionManager</guard-role>
     185   <guard-expression>python: context.student_wf_guard(transition,state_change)</guard-expression>
    202186  </guard>
    203187 </transition>
     
    207191 
    208192  <guard>
    209    <guard-role>Manager</guard-role>
    210    <guard-role>SectionManager</guard-role>
    211    <guard-role>Owner</guard-role>
     193   <guard-expression>python: context.student_wf_guard(transition,state_change)</guard-expression>
    212194  </guard>
    213195 </transition>
     
    217199 
    218200  <guard>
    219    <guard-role>Manager</guard-role>
    220    <guard-role>SectionManager</guard-role>
     201   <guard-expression>python: context.student_wf_guard(transition,state_change)</guard-expression>
    221202  </guard>
    222203 </transition>
     
    226207 
    227208  <guard>
    228    <guard-role>Manager</guard-role>
    229    <guard-role>SectionManager</guard-role>
    230    <guard-role>ClearanceOfficer</guard-role>
     209   <guard-expression>python: context.student_wf_guard(transition,state_change)</guard-expression>
    231210  </guard>
    232211 </transition>
     
    236215 
    237216  <guard>
    238    <guard-role>Manager</guard-role>
    239    <guard-role>SectionManager</guard-role>
    240    <guard-role>Owner</guard-role>
     217   <guard-expression>python: context.student_wf_guard(transition,state_change)</guard-expression>
    241218  </guard>
    242219 </transition>
Note: See TracChangeset for help on using the changeset viewer.