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

new personal templates and scripts
student workflow extended

Location:
WAeUP_SRP/trunk/profiles/default
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/layouts/student_personal.xml

    r853 r1167  
    496496  </row>
    497497  <row>
    498    <cell name="for_lga"/>
    499   </row>
    500   <row>
    501498   <cell name="for_state"/>
    502499  </row>
  • WAeUP_SRP/trunk/profiles/default/layouts/student_personal_fe.xml

    r853 r1167  
    44 <property name="layout_edit_method"></property>
    55 <property name="layout_view_method"></property>
    6  <property name="style_prefix">layout_waeup_</property>
     6 <property name="style_prefix">layout_personal_</property>
    77 <property name="flexible_widgets"/>
    88 <property name="validate_values_expr"></property>
     
    1616  <property name="label">Firstname</property>
    1717  <property name="label_edit">Firstname</property>
    18   <property name="readonly_layout_modes"/>
     18  <property name="readonly_layout_modes">
     19   <element value="edit"/>
     20  </property>
    1921  <property name="hidden_layout_modes"/>
    2022  <property name="hidden_readonly_layout_modes"/>
     
    2830  <property name="label">Middlename</property>
    2931  <property name="label_edit">Middlename</property>
    30   <property name="readonly_layout_modes"/>
     32  <property name="readonly_layout_modes">
     33   <element value="edit"/>
     34  </property>
    3135  <property name="hidden_layout_modes"/>
    3236  <property name="hidden_readonly_layout_modes"/>
     
    4044  <property name="label">Lastname</property>
    4145  <property name="label_edit">Lastname</property>
    42   <property name="readonly_layout_modes"/>
     46  <property name="readonly_layout_modes">
     47   <element value="edit"/>
     48  </property>
    4349  <property name="hidden_layout_modes"/>
    4450  <property name="hidden_readonly_layout_modes"/>
     
    5258  <property name="label">Sex</property>
    5359  <property name="label_edit">Sex</property>
    54   <property name="readonly_layout_modes"/>
     60  <property name="readonly_layout_modes">
     61   <element value="edit"/>
     62  </property>
    5563  <property name="hidden_layout_modes"/>
    5664  <property name="hidden_readonly_layout_modes"/>
     
    5866  <property name="label_true">female</property>
    5967 </widget>
    60 
     68 
     69 <widget name="former_surname" meta_type="String Widget">
     70  <property name="title">Former Surname</property>
     71  <property name="fields">
     72   <element value="former_surname"/>
     73  </property>
     74  <property name="label">Former Surname</property>
     75  <property name="label_edit">Former Surname</property>
     76  <property name="readonly_layout_modes"/>
     77  <property name="hidden_layout_modes"/>
     78  <property name="hidden_readonly_layout_modes"/>
     79 </widget>
     80 
     81 <widget name="for_lga" meta_type="String Widget">
     82  <property name="title">Foreign Student Local Government Area</property>
     83  <property name="fields">
     84   <element value="for_lga"/>
     85  </property>
     86  <property name="label">Foreign Student Local Government Area</property>
     87  <property name="label_edit">Foreign Student Local Government Area</property>
     88  <property name="readonly_layout_modes"/>
     89  <property name="hidden_layout_modes"/>
     90  <property name="hidden_readonly_layout_modes"/>
     91 </widget>
     92
     93 <widget name="for_state" meta_type="Select Widget">
     94  <property name="title">Foreign Student State</property>
     95  <property name="fields">
     96   <element value="for_state"/>
     97  </property>
     98  <property name="label">Foreign Student State</property>
     99  <property name="label_edit">Foreign Student State</property>
     100  <property name="readonly_layout_modes"/>
     101  <property name="hidden_layout_modes"/>
     102  <property name="hidden_readonly_layout_modes"/>
     103  <property name="vocabulary">states</property>
     104 </widget>
     105
     106 <widget name="marit_stat" meta_type="Boolean Widget">
     107  <property name="title">Marital Status</property>
     108  <property name="fields">
     109   <element value="marit_stat"/>
     110  </property>
     111  <property name="label">Marital Status</property>
     112  <property name="label_edit">Marital Status</property>
     113  <property name="readonly_layout_modes"/>
     114  <property name="hidden_layout_modes"/>
     115  <property name="hidden_readonly_layout_modes"/>
     116  <property name="label_false">single</property>
     117  <property name="label_true">married</property>
     118 </widget>
     119
     120 <widget name="religion" meta_type="Select Widget">
     121  <property name="title">Religion</property>
     122  <property name="fields">
     123   <element value="religion"/>
     124  </property>
     125  <property name="label">Religion</property>
     126  <property name="label_edit">Religion</property>
     127  <property name="readonly_layout_modes"/>
     128  <property name="hidden_layout_modes"/>
     129  <property name="hidden_readonly_layout_modes"/>
     130  <property name="vocabulary">religion</property>
     131 </widget>
     132
     133 <widget name="perm_address" meta_type="String Widget">
     134  <property name="title">Permanent Address</property>
     135  <property name="fields">
     136   <element value="perm_address"/>
     137  </property>
     138  <property name="label">Permanent Address</property>
     139  <property name="label_edit">Permanent Address</property>
     140  <property name="readonly_layout_modes"/>
     141  <property name="hidden_layout_modes"/>
     142  <property name="hidden_readonly_layout_modes"/>
     143 </widget>
     144
     145 <widget name="perm_city" meta_type="String Widget">
     146  <property name="title">City</property>
     147  <property name="fields">
     148   <element value="perm_city"/>
     149  </property>
     150  <property name="label">City</property>
     151  <property name="label_edit">City</property>
     152  <property name="readonly_layout_modes"/>
     153  <property name="hidden_layout_modes"/>
     154  <property name="hidden_readonly_layout_modes"/>
     155 </widget>
     156
     157 <widget name="campus_address" meta_type="String Widget">
     158  <property name="title">Campus Address</property>
     159  <property name="fields">
     160   <element value="campus_address"/>
     161  </property>
     162  <property name="label">Campus Address</property>
     163  <property name="label_edit">Campus Address</property>
     164  <property name="readonly_layout_modes"/>
     165  <property name="hidden_layout_modes"/>
     166  <property name="hidden_readonly_layout_modes"/>
     167 </widget>
     168
     169 <widget name="phone" meta_type="String Widget">
     170  <property name="title">Phone</property>
     171  <property name="fields">
     172   <element value="phone"/>
     173  </property>
     174  <property name="label">Phone</property>
     175  <property name="label_edit">Phone</property>
     176  <property name="readonly_layout_modes"/>
     177  <property name="hidden_layout_modes"/>
     178  <property name="hidden_readonly_layout_modes"/>
     179 </widget>
     180
     181
     182 <widget name="email" meta_type="Email Widget">
     183  <property name="title">Email</property>
     184  <property name="fields">
     185   <element value="email"/>
     186  </property>
     187  <property name="label">Email</property>
     188  <property name="label_edit">Email</property>
     189  <property name="readonly_layout_modes"/>
     190  <property name="hidden_layout_modes"/>
     191  <property name="hidden_readonly_layout_modes"/>
     192 </widget>
     193
     194 <widget name="next_kin_firstname" meta_type="String Widget">
     195  <property name="title">Next of Kin Firstname</property>
     196  <property name="fields">
     197   <element value="next_kin_firstname"/>
     198  </property>
     199  <property name="label">Next of Kin Firstname</property>
     200  <property name="label_edit">Next of Kin Firstname</property>
     201  <property name="readonly_layout_modes"/>
     202  <property name="hidden_layout_modes"/>
     203  <property name="hidden_readonly_layout_modes"/>
     204 </widget>
     205
     206
     207 <widget name="next_kin_middlename" meta_type="String Widget">
     208  <property name="title">Next of Kin Middlename</property>
     209  <property name="fields">
     210   <element value="next_kin_middlename"/>
     211  </property>
     212  <property name="label">Next of Kin Middlename</property>
     213  <property name="label_edit">Next of Kin Middlename</property>
     214  <property name="readonly_layout_modes"/>
     215  <property name="hidden_layout_modes"/>
     216  <property name="hidden_readonly_layout_modes"/>
     217 </widget>
     218
     219
     220 <widget name="next_kin_lastname" meta_type="String Widget">
     221  <property name="title">Next of Kin Lastname</property>
     222  <property name="fields">
     223   <element value="next_kin_lastname"/>
     224  </property>
     225  <property name="label">Next of Kin Lastname</property>
     226  <property name="label_edit">Next of Kin Lastname</property>
     227  <property name="readonly_layout_modes"/>
     228  <property name="hidden_layout_modes"/>
     229  <property name="hidden_readonly_layout_modes"/>
     230 </widget>
     231
     232
     233 <widget name="next_kin_relation" meta_type="String Widget">
     234  <property name="title">Next of Kin Relationship</property>
     235  <property name="fields">
     236   <element value="next_kin_relation"/>
     237  </property>
     238  <property name="label">Next of Kin Relationship</property>
     239  <property name="label_edit">Next of Kin Relationship</property>
     240  <property name="readonly_layout_modes"/>
     241  <property name="hidden_layout_modes"/>
     242  <property name="hidden_readonly_layout_modes"/>
     243 </widget>
     244
     245
     246 <widget name="next_kin_address" meta_type="String Widget">
     247  <property name="title">Next of Kin Address</property>
     248  <property name="fields">
     249   <element value="next_kin_address"/>
     250  </property>
     251  <property name="label">Next of Kin Address</property>
     252  <property name="label_edit">Next of Kin Address</property>
     253  <property name="readonly_layout_modes"/>
     254  <property name="hidden_layout_modes"/>
     255  <property name="hidden_readonly_layout_modes"/>
     256 </widget>
     257
     258
     259 <widget name="next_kin_city" meta_type="String Widget">
     260  <property name="title">Next of Kin City</property>
     261  <property name="fields">
     262   <element value="next_kin_city"/>
     263  </property>
     264  <property name="label">Next of Kin City</property>
     265  <property name="label_edit">Next of Kin City</property>
     266  <property name="readonly_layout_modes"/>
     267  <property name="hidden_layout_modes"/>
     268  <property name="hidden_readonly_layout_modes"/>
     269 </widget>
     270
     271
     272 <widget name="next_kin_state" meta_type="String Widget">
     273  <property name="title">Next of Kin State</property>
     274  <property name="fields">
     275   <element value="next_kin_state"/>
     276  </property>
     277  <property name="label">Next of Kin State</property>
     278  <property name="label_edit">Next of Kin State</property>
     279  <property name="readonly_layout_modes"/>
     280  <property name="hidden_layout_modes"/>
     281  <property name="hidden_readonly_layout_modes"/>
     282 </widget>
     283
     284 <widget name="next_kin_email" meta_type="Email Widget">
     285  <property name="title">Next of Kin Email</property>
     286  <property name="fields">
     287   <element value="next_kin_email"/>
     288  </property>
     289  <property name="label">Next of Kin Email</property>
     290  <property name="label_edit">Next of Kin Email</property>
     291  <property name="readonly_layout_modes"/>
     292  <property name="hidden_layout_modes"/>
     293  <property name="hidden_readonly_layout_modes"/>
     294 </widget>
     295
     296 <widget name="next_kin_phone" meta_type="String Widget">
     297  <property name="title">Next of Kin Phone</property>
     298  <property name="fields">
     299   <element value="next_kin_phone"/>
     300  </property>
     301  <property name="label">Next of Kin Phone</property>
     302  <property name="label_edit">Next of Kin Phone</property>
     303  <property name="readonly_layout_modes"/>
     304  <property name="hidden_layout_modes"/>
     305  <property name="hidden_readonly_layout_modes"/>
     306 </widget>
     307
     308
     309 <widget name="sponsor_firstname" meta_type="String Widget">
     310  <property name="title">Sponsor Firstname</property>
     311  <property name="fields">
     312   <element value="sponsor_firstname"/>
     313  </property>
     314  <property name="label">Sponsor Firstname</property>
     315  <property name="label_edit">Sponsor Firstname</property>
     316  <property name="readonly_layout_modes"/>
     317  <property name="hidden_layout_modes"/>
     318  <property name="hidden_readonly_layout_modes"/>
     319 </widget>
     320
     321 <field name="sponsor_middlename" meta_type="CPS String Field"/>
     322
     323 <widget name="sponsor_middlename" meta_type="String Widget">
     324  <property name="title">Sponsor Middlename</property>
     325  <property name="fields">
     326   <element value="sponsor_middlename"/>
     327  </property>
     328  <property name="label">Sponsor Middlename</property>
     329  <property name="label_edit">Sponsor Middlename</property>
     330  <property name="readonly_layout_modes"/>
     331  <property name="hidden_layout_modes"/>
     332  <property name="hidden_readonly_layout_modes"/>
     333 </widget>
     334
     335
     336 <widget name="sponsor_lastname" meta_type="String Widget">
     337  <property name="title">Sponsor Lastname</property>
     338  <property name="fields">
     339   <element value="sponsor_lastname"/>
     340  </property>
     341  <property name="label">Sponsor Lastname</property>
     342  <property name="label_edit">Sponsor Lastname</property>
     343  <property name="readonly_layout_modes"/>
     344  <property name="hidden_layout_modes"/>
     345  <property name="hidden_readonly_layout_modes"/>
     346 </widget>
     347
     348
     349 <widget name="sponsor_address" meta_type="String Widget">
     350  <property name="title">Sponsor Address</property>
     351  <property name="fields">
     352   <element value="sponsor_address"/>
     353  </property>
     354  <property name="label">Sponsor Address</property>
     355  <property name="label_edit">Sponsor Address</property>
     356  <property name="readonly_layout_modes"/>
     357  <property name="hidden_layout_modes"/>
     358  <property name="hidden_readonly_layout_modes"/>
     359 </widget>
     360
     361
     362 <widget name="sponsor_city" meta_type="String Widget">
     363  <property name="title">Sponsor City</property>
     364  <property name="fields">
     365   <element value="sponsor_city"/>
     366  </property>
     367  <property name="label">Sponsor City</property>
     368  <property name="label_edit">Sponsor City</property>
     369  <property name="readonly_layout_modes"/>
     370  <property name="hidden_layout_modes"/>
     371  <property name="hidden_readonly_layout_modes"/>
     372 </widget>
     373
     374
     375 <widget name="sponsor_state" meta_type="String Widget">
     376  <property name="title">Sponsor State</property>
     377  <property name="fields">
     378   <element value="sponsor_state"/>
     379  </property>
     380  <property name="label">Sponsor State</property>
     381  <property name="label_edit">Sponsor State</property>
     382  <property name="readonly_layout_modes"/>
     383  <property name="hidden_layout_modes"/>
     384  <property name="hidden_readonly_layout_modes"/>
     385 </widget>
     386
     387 <widget name="sponsor_email" meta_type="Email Widget">
     388  <property name="title">Sponsor Email</property>
     389  <property name="fields">
     390   <element value="sponsor_email"/>
     391  </property>
     392  <property name="label">Sponsor Email</property>
     393  <property name="label_edit">Sponsor Email</property>
     394  <property name="readonly_layout_modes"/>
     395  <property name="hidden_layout_modes"/>
     396  <property name="hidden_readonly_layout_modes"/>
     397 </widget>
     398
     399 <widget name="sponsor_phone" meta_type="String Widget">
     400  <property name="title">Sponsor Phone</property>
     401  <property name="fields">
     402   <element value="sponsor_phone"/>
     403  </property>
     404  <property name="label">Sponsor Phone</property>
     405  <property name="label_edit">Sponsor Phone</property>
     406  <property name="readonly_layout_modes"/>
     407  <property name="hidden_layout_modes"/>
     408  <property name="hidden_readonly_layout_modes"/>
     409 </widget>
     410
     411
     412 <widget name="fst_best_lang" meta_type="String Widget">
     413  <property name="title">First Best Language</property>
     414  <property name="fields">
     415   <element value="fst_best_lang"/>
     416  </property>
     417  <property name="label">First Best Language</property>
     418  <property name="label_edit">First Best Language</property>
     419  <property name="readonly_layout_modes"/>
     420  <property name="hidden_layout_modes"/>
     421  <property name="hidden_readonly_layout_modes"/>
     422 </widget>
     423
     424
     425 <widget name="scd_best_lang" meta_type="String Widget">
     426  <property name="title">Second Best Language</property>
     427  <property name="fields">
     428   <element value="scd_best_lang"/>
     429  </property>
     430  <property name="label">Second Best Language</property>
     431  <property name="label_edit">Second Best Language</property>
     432  <property name="readonly_layout_modes"/>
     433  <property name="hidden_layout_modes"/>
     434  <property name="hidden_readonly_layout_modes"/>
     435 </widget>
     436
     437
     438 <widget name="mother_tongue" meta_type="String Widget">
     439  <property name="title">Mother Tongue</property>
     440  <property name="fields">
     441   <element value="mother_tongue"/>
     442  </property>
     443  <property name="label">Mother Tongue</property>
     444  <property name="label_edit">Mother Tongue</property>
     445  <property name="readonly_layout_modes"/>
     446  <property name="hidden_layout_modes"/>
     447  <property name="hidden_readonly_layout_modes"/>
     448 </widget>
     449
     450 <widget name="hall" meta_type="String Widget">
     451  <property name="title">Residence Hall on Campus</property>
     452  <property name="fields">
     453   <element value="hall"/>
     454  </property>
     455  <property name="label">Residence Hall on Campus</property>
     456  <property name="label_edit">Residence Hall on Campus</property>
     457  <property name="readonly_layout_modes"/>
     458  <property name="hidden_layout_modes"/>
     459  <property name="hidden_readonly_layout_modes"/>
     460 </widget>
     461
     462 <widget name="disabled" meta_type="Boolean Widget">
     463  <property name="title">Disabled</property>
     464  <property name="fields">
     465   <element value="disabled"/>
     466  </property>
     467  <property name="label">Disabled</property>
     468  <property name="label_edit">Disabled</property>
     469  <property name="readonly_layout_modes"/>
     470  <property name="hidden_layout_modes"/>
     471  <property name="hidden_readonly_layout_modes"/>
     472  <property name="label_false">no</property>
     473  <property name="label_true">yes</property>
     474 </widget>
     475
     476 <widget name="notes" meta_type="Text Widget">
     477  <property name="title">Notes</property>
     478  <property name="fields">
     479   <element value="notes"/>
     480  </property>
     481  <property name="label">Notes</property>
     482  <property name="label_edit">Notes</property>
     483  <property name="readonly_layout_modes"/>
     484  <property name="hidden_layout_modes"/>
     485  <property name="hidden_readonly_layout_modes"/>
     486 </widget>
    61487
    62488 <table>
     
    71497  </row>
    72498  <row>
     499   <cell name="former_surname"/>
     500  </row>
     501  <row>
    73502   <cell name="sex"/>
    74503  </row>
    75  </table>
     504  <row>
     505   <cell name="for_state"/>
     506  </row>
     507  <row>
     508   <cell name="marit_stat"/>
     509  </row>
     510  <row>
     511   <cell name="religion"/>
     512  </row>
     513  <row>
     514   <cell name="perm_address"/>
     515  </row>
     516  <row>
     517   <cell name="perm_city"/>
     518  </row>
     519  <row>
     520   <cell name="campus_address"/>
     521  </row>
     522  <row>
     523   <cell name="phone"/>
     524  </row>
     525  <row>
     526   <cell name="email"/>
     527  </row>
     528  <row>
     529   <cell name="next_kin_firstname"/>
     530  </row>
     531  <row>
     532   <cell name="next_kin_middlename"/>
     533  </row>
     534  <row>
     535   <cell name="next_kin_lastname"/>
     536  </row>
     537  <row>
     538   <cell name="next_kin_relation"/>
     539  </row>
     540  <row>
     541   <cell name="next_kin_address"/>
     542  </row>
     543  <row>
     544   <cell name="next_kin_city"/>
     545  </row>
     546  <row>
     547   <cell name="next_kin_state"/>
     548  </row>
     549  <row>
     550   <cell name="next_kin_email"/>
     551  </row>
     552  <row>
     553   <cell name="next_kin_phone"/>
     554  </row>
     555  <row>
     556   <cell name="sponsor_firstname"/>
     557  </row>
     558  <row>
     559   <cell name="sponsor_middlename"/>
     560  </row>
     561  <row>
     562   <cell name="sponsor_lastname"/>
     563  </row>
     564  <row>
     565   <cell name="sponsor_address"/>
     566  </row>
     567  <row>
     568   <cell name="sponsor_city"/>
     569  </row>
     570  <row>
     571   <cell name="sponsor_state"/>
     572  </row>
     573  <row>
     574   <cell name="sponsor_email"/>
     575  </row>
     576  <row>
     577   <cell name="sponsor_phone"/>
     578  </row>
     579  <row>
     580   <cell name="fst_best_lang"/>
     581  </row>
     582  <row>
     583   <cell name="scd_best_lang"/>
     584  </row>
     585  <row>
     586   <cell name="mother_tongue"/>
     587  </row>
     588  <row>
     589   <cell name="hall"/>
     590  </row>
     591  <row>
     592   <cell name="disabled"/>
     593  </row>
     594  <row>
     595   <cell name="notes"/>
     596  </row>
     597 </table> 
    76598</object>
  • 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.