Ignore:
Timestamp:
1 Jan 2007, 13:02:33 (18 years ago)
Author:
Henrik Bettermann
Message:

new personal templates and scripts
student workflow extended

File:
1 edited

Legend:

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

    r950 r1167  
    1111  <exit-transition transition_id="pume_fail"/>
    1212  <exit-transition transition_id="pume_pass"/>
    13   <permission-map name="Delete objects" acquired="False" />
     13  <permission-map name="Delete objects" acquired="False">
     14  </permission-map>
    1415  <permission-map name="Modify portal content"
    1516                  acquired="True">
     
    2223 <state state_id="admission_rejected" title="">
    2324  <exit-transition transition_id="finally_reject"/>
    24   <permission-map name="Delete objects" acquired="False" />
     25  <permission-map name="Delete objects" acquired="False">
     26  </permission-map>
    2527  <permission-map name="Modify portal content"
    2628                  acquired="True">
     
    3537  <exit-transition transition_id="enter_clearance_pin"/>
    3638  <exit-transition transition_id="raise_objection"/>
    37   <permission-map name="Delete objects" acquired="False" />
     39  <permission-map name="Delete objects" acquired="False">
     40  </permission-map>
    3841  <permission-map name="Modify portal content"
    3942                  acquired="True">
     
    4750  <exit-transition transition_id="apply_for_admission"/>
    4851  <exit-transition transition_id="create_content"/>
    49   <permission-map name="Delete objects" acquired="False" />
     52  <permission-map name="Delete objects" acquired="False">
     53  </permission-map>
    5054  <permission-map name="Modify portal content"
    5155                  acquired="True">
     
    6064  <exit-transition transition_id="create_content"/>
    6165  <exit-transition transition_id="request_clearance"/>
    62   <permission-map name="Delete objects" acquired="False" />
     66  <permission-map name="Delete objects" acquired="False">
     67  </permission-map>
    6368  <permission-map name="Modify portal content"
    6469                  acquired="True">
     
    7277 <state state_id="clearance_requested" title="">
    7378  <exit-transition transition_id="clear_and_validate"/>
     79  <exit-transition transition_id="create_content"/>
     80  <exit-transition transition_id="reject_clearance"/>
     81  <permission-map name="Delete objects" acquired="False">
     82  </permission-map>
     83  <permission-map name="Modify portal content"
     84                  acquired="True">
     85   <permission-role>ClearanceOfficer</permission-role>
     86   <permission-role>SectionOfficer</permission-role>
     87  </permission-map>
     88  <permission-map name="View" acquired="True">
     89   <permission-role>Owner</permission-role>
     90   <permission-role>SectionOfficer</permission-role>
     91  </permission-map>
     92 </state>
     93 <state state_id="cleared_and_validated" title="">
     94  <exit-transition transition_id="create_content"/>
    7495  <exit-transition transition_id="defer"/>
    7596  <exit-transition transition_id="reject_clearance"/>
    76   <exit-transition transition_id="create_content"/>
    77   <permission-map name="Delete objects" acquired="False" />
     97  <permission-map name="Delete objects" acquired="False">
     98  </permission-map>
    7899  <permission-map name="Modify portal content"
    79100                  acquired="True">
     
    86107  </permission-map>
    87108 </state>
    88  <state state_id="cleared_and_validated" title="">
    89   <exit-transition transition_id="create_content"/>
    90   <exit-transition transition_id="reject_clearance"/>
    91   <permission-map name="Delete objects" acquired="False" />
    92   <permission-map name="Modify portal content"
    93                   acquired="True">
    94    <permission-role>ClearanceOfficer</permission-role>
    95    <permission-role>SectionOfficer</permission-role>
    96   </permission-map>
    97   <permission-map name="View" acquired="True">
    98    <permission-role>Owner</permission-role>
    99    <permission-role>SectionOfficer</permission-role>
    100   </permission-map>
     109 <state state_id="courses_registered" title="">
     110  <exit-transition transition_id="notify_change_courses"/>
     111  <exit-transition transition_id="validate_courses"/>
     112 </state>
     113 <state state_id="courses_validated" title="">
    101114 </state>
    102115 <state state_id="deferred" title="">
    103   <exit-transition transition_id="admit"/>
    104   <permission-map name="Delete objects" acquired="False" />
     116  <permission-map name="Delete objects" acquired="False">
     117  </permission-map>
    105118  <permission-map name="Modify portal content"
    106119                  acquired="True">
     
    112125 </state>
    113126 <state state_id="finally_rejected" title="">
    114   <permission-map name="Delete objects" acquired="False" />
     127  <permission-map name="Delete objects" acquired="False">
     128  </permission-map>
    115129  <permission-map name="Modify portal content"
    116130                  acquired="True">
     
    125139 <state state_id="objection_raised" title="">
    126140  <exit-transition transition_id="enter_clearance_pin"/>
    127   <permission-map name="Delete objects" acquired="False" />
     141  <permission-map name="Delete objects" acquired="False">
     142  </permission-map>
    128143  <permission-map name="Modify portal content"
    129144                  acquired="True">
     
    137152 <state state_id="pume_failed" title="">
    138153  <exit-transition transition_id="reject_admission"/>
    139   <permission-map name="Delete objects" acquired="False" />
     154  <permission-map name="Delete objects" acquired="False">
     155  </permission-map>
    140156  <permission-map name="Modify portal content"
    141157                  acquired="True">
     
    150166  <exit-transition transition_id="admit"/>
    151167  <exit-transition transition_id="reject_admission"/>
    152   <permission-map name="Delete objects" acquired="False" />
    153   <permission-map name="Modify portal content"
    154                   acquired="True">
    155    <permission-role>SectionOfficer</permission-role>
    156   </permission-map>
    157   <permission-map name="View" acquired="True">
    158    <permission-role>Owner</permission-role>
    159    <permission-role>SectionOfficer</permission-role>
    160   </permission-map>
     168  <permission-map name="Delete objects" acquired="False">
     169  </permission-map>
     170  <permission-map name="Modify portal content"
     171                  acquired="True">
     172   <permission-role>SectionOfficer</permission-role>
     173  </permission-map>
     174  <permission-map name="View" acquired="True">
     175   <permission-role>Owner</permission-role>
     176   <permission-role>SectionOfficer</permission-role>
     177  </permission-map>
     178 </state>
     179 <state state_id="returning" title="">
     180  <exit-transition transition_id="create_content"/>
     181  <exit-transition transition_id="enter_school_fee_pin"/>
     182 </state>
     183 <state state_id="school_fee_pin_entered" title="">
     184  <exit-transition transition_id="create_content"/>
     185  <exit-transition transition_id="register_courses"/>
    161186 </state>
    162187 <state state_id="student_created" title="">
    163188  <exit-transition transition_id="admit"/>
    164   <exit-transition transition_id="clear_and_validate"/>
    165189  <exit-transition transition_id="create_content"/>
    166190  <exit-transition transition_id="enter_application_pin"/>
     
    168192  <exit-transition transition_id="pume_pass"/>
    169193  <exit-transition transition_id="reject_admission"/>
    170   <permission-map name="Delete objects" acquired="False" />
     194  <exit-transition transition_id="return"/>
     195  <permission-map name="Delete objects" acquired="False">
     196  </permission-map>
    171197  <permission-map name="Modify portal content"
    172198                  acquired="True">
     
    181207             new_state="admitted" trigger="USER"
    182208             before_script="" after_script="">
    183 
     209 
    184210  <guard>
    185211   <guard-role>SectionOfficer</guard-role>
     
    192218             new_state="admission_applied" trigger="USER"
    193219             before_script="" after_script="">
    194 
     220 
    195221  <guard>
    196222   <guard-role>SectionOfficer</guard-role>
     
    203229             new_state="cleared_and_validated"
    204230             trigger="USER" before_script="" after_script="">
    205 
    206   <guard>
    207    <guard-role>SectionOfficer</guard-role>
    208    <guard-role>ClearanceOfficer</guard-role>
    209    <guard-role>Manager</guard-role>
    210    <guard-role>SectionManager</guard-role>
    211   </guard>
    212  </transition>
    213  <transition transition_id="create" title=""
     231 
     232  <guard>
     233   <guard-role>SectionOfficer</guard-role>
     234   <guard-role>ClearanceOfficer</guard-role>
     235   <guard-role>Manager</guard-role>
     236   <guard-role>SectionManager</guard-role>
     237  </guard>
     238 </transition>
     239 <transition transition_id="create" title="Initial creation"
    214240             new_state="student_created" trigger="USER"
    215241             before_script="" after_script="">
    216 
    217   <guard>
     242 
     243  <guard>
     244   <guard-role>Manager</guard-role>
     245   <guard-role>SectionManager</guard-role>
    218246  </guard>
    219247  <transition-behavior behavior_id="allow-sub-create"/>
     
    223251             new_state="" trigger="USER" before_script=""
    224252             after_script="">
    225 
    226   <guard>
    227    <guard-role>SectionOfficer</guard-role>
    228    <guard-role>Owner</guard-role>
    229    <guard-role>Manager</guard-role>
    230    <guard-role>SectionManager</guard-role>
     253 
     254  <guard>
     255   <guard-role>Manager</guard-role>
     256   <guard-role>SectionManager</guard-role>
     257   <guard-role>Owner</guard-role>
    231258  </guard>
    232259  <transition-behavior behavior_id="allow-sub-create"/>
     260  <transition-behavior behavior_id="allow-sub-delete"/>
    233261 </transition>
    234262 <transition transition_id="defer" title=""
    235263             new_state="deferred" trigger="USER"
    236264             before_script="" after_script="">
    237 
     265 
    238266  <guard>
    239267   <guard-role>SectionOfficer</guard-role>
     
    246274             new_state="application_pin_entered"
    247275             trigger="USER" before_script="" after_script="">
    248 
     276 
    249277  <guard>
    250278   <guard-role>SectionOfficer</guard-role>
     
    257285             new_state="clearance_pin_entered"
    258286             trigger="USER" before_script="" after_script="">
    259 
    260   <guard>
    261    <guard-role>SectionOfficer</guard-role>
    262    <guard-role>Owner</guard-role>
    263    <guard-role>Manager</guard-role>
    264    <guard-role>SectionManager</guard-role>
     287 
     288  <guard>
     289   <guard-role>SectionOfficer</guard-role>
     290   <guard-role>Owner</guard-role>
     291   <guard-role>Manager</guard-role>
     292   <guard-role>SectionManager</guard-role>
     293  </guard>
     294 </transition>
     295 <transition transition_id="enter_school_fee_pin" title=""
     296             new_state="school_fee_pin_entered"
     297             trigger="USER" before_script="" after_script="">
     298 
     299  <guard>
     300   <guard-role>Manager</guard-role>
     301   <guard-role>SectionManager</guard-role>
     302   <guard-role>Owner</guard-role>
    265303  </guard>
    266304 </transition>
     
    268306             new_state="finally_rejected" trigger="USER"
    269307             before_script="" after_script="">
    270 
    271   <guard>
    272    <guard-role>SectionOfficer</guard-role>
    273    <guard-role>ClearanceOfficer</guard-role>
     308 
     309  <guard>
     310   <guard-role>SectionOfficer</guard-role>
     311   <guard-role>ClearanceOfficer</guard-role>
     312   <guard-role>Manager</guard-role>
     313   <guard-role>SectionManager</guard-role>
     314  </guard>
     315 </transition>
     316 <transition transition_id="notify_change_courses" title=""
     317             new_state="school_fee_pin_entered"
     318             trigger="USER" before_script="" after_script="">
     319 
     320  <guard>
     321   <guard-role>CourseAdviser</guard-role>
    274322   <guard-role>Manager</guard-role>
    275323   <guard-role>SectionManager</guard-role>
     
    279327             new_state="pume_failed" trigger="USER"
    280328             before_script="" after_script="">
    281 
     329 
    282330  <guard>
    283331   <guard-role>SectionOfficer</guard-role>
     
    290338             new_state="pume_passed" trigger="USER"
    291339             before_script="" after_script="">
    292 
     340 
    293341  <guard>
    294342   <guard-role>SectionOfficer</guard-role>
     
    301349             new_state="objection_raised" trigger="USER"
    302350             before_script="" after_script="">
    303 
    304   <guard>
    305    <guard-role>SectionOfficer</guard-role>
    306    <guard-role>Owner</guard-role>
    307    <guard-role>ClearanceOfficer</guard-role>
    308    <guard-role>Manager</guard-role>
    309    <guard-role>SectionManager</guard-role>
     351 
     352  <guard>
     353   <guard-role>SectionOfficer</guard-role>
     354   <guard-role>Owner</guard-role>
     355   <guard-role>ClearanceOfficer</guard-role>
     356   <guard-role>Manager</guard-role>
     357   <guard-role>SectionManager</guard-role>
     358  </guard>
     359 </transition>
     360 <transition transition_id="register_courses" title=""
     361             new_state="courses_registered" trigger="USER"
     362             before_script="" after_script="">
     363 
     364  <guard>
     365   <guard-role>Manager</guard-role>
     366   <guard-role>SectionManager</guard-role>
     367   <guard-role>Owner</guard-role>
    310368  </guard>
    311369 </transition>
     
    313371             new_state="admission_rejected" trigger="USER"
    314372             before_script="" after_script="">
    315 
     373 
    316374  <guard>
    317375   <guard-role>SectionOfficer</guard-role>
     
    324382             new_state="clearance_pin_entered"
    325383             trigger="USER" before_script="" after_script="">
    326 
     384 
    327385  <guard>
    328386   <guard-role>SectionOfficer</guard-role>
     
    335393             new_state="clearance_requested" trigger="USER"
    336394             before_script="" after_script="">
    337 
    338   <guard>
    339    <guard-role>SectionOfficer</guard-role>
    340    <guard-role>Owner</guard-role>
     395 
     396  <guard>
     397   <guard-role>SectionOfficer</guard-role>
     398   <guard-role>Owner</guard-role>
     399   <guard-role>Manager</guard-role>
     400   <guard-role>SectionManager</guard-role>
     401  </guard>
     402 </transition>
     403 <transition transition_id="return" title=""
     404             new_state="returning" trigger="USER"
     405             before_script="" after_script="">
     406 
     407  <guard>
     408   <guard-role>SectionOfficer</guard-role>
     409   <guard-role>Manager</guard-role>
     410   <guard-role>SectionManager</guard-role>
     411  </guard>
     412 </transition>
     413 <transition transition_id="validate_courses" title=""
     414             new_state="courses_validated" trigger="USER"
     415             before_script="" after_script="">
     416 
     417  <guard>
     418   <guard-role>CourseAdviser</guard-role>
     419   <guard-role>SectionOfficer</guard-role>
    341420   <guard-role>Manager</guard-role>
    342421   <guard-role>SectionManager</guard-role>
     
    347426  <description>Time of the last transition</description>
    348427  <default>
    349 
     428   
    350429   <expression>state_change/getDateTime</expression>
    351430  </default>
Note: See TracChangeset for help on using the changeset viewer.