Ignore:
Timestamp:
11 Oct 2006, 23:22:16 (18 years ago)
Author:
Henrik Bettermann
Message:

some fixes and minor modifications for the launching of the accommodation module

Location:
WAeUP_SRP/trunk/profiles/default/workflows
Files:
4 edited

Legend:

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

    r534 r659  
    3838             new_state="created" trigger="USER"
    3939             before_script="" after_script="">
    40 
     40 
    4141  <guard>
    4242   <guard-role>Manager</guard-role>
     
    4949             new_state="" trigger="USER" before_script=""
    5050             after_script="">
    51 
     51 
    5252  <guard>
    5353   <guard-role>Manager</guard-role>
     
    6161             new_state="school_fee_pin_entered"
    6262             trigger="USER" before_script="" after_script="">
    63 
     63 
    6464  <guard>
    6565   <guard-role>Manager</guard-role>
     
    7171             new_state="finished" trigger="USER"
    7272             before_script="" after_script="">
    73 
     73 
    7474  <guard>
    7575   <guard-role>Manager</guard-role>
     
    8080             new_state="school_fee_pin_entered"
    8181             trigger="USER" before_script="" after_script="">
    82 
     82 
    8383  <guard>
    8484   <guard-role>Manager</guard-role>
     
    8989             new_state="passed" trigger="USER"
    9090             before_script="" after_script="">
    91 
     91 
    9292  <guard>
    9393   <guard-role>Manager</guard-role>
     
    9898             new_state="probation" trigger="USER"
    9999             before_script="" after_script="">
    100 
     100 
    101101  <guard>
    102102   <guard-role>Manager</guard-role>
     
    107107             new_state="courses_registered" trigger="USER"
    108108             before_script="" after_script="">
    109 
     109 
    110110  <guard>
    111111   <guard-role>Manager</guard-role>
     
    117117             new_state="failed" trigger="USER"
    118118             before_script="" after_script="">
    119 
     119 
    120120  <guard>
    121121   <guard-role>Manager</guard-role>
     
    126126             new_state="validated" trigger="USER"
    127127             before_script="" after_script="">
    128 
     128 
    129129  <guard>
    130130   <guard-role>Manager</guard-role>
     
    132132  </guard>
    133133 </transition>
    134 
    135134</cps-workflow>
  • WAeUP_SRP/trunk/profiles/default/workflows/waeup_student_subobject_wf/definition.xml

    r603 r659  
    1414  <exit-transition transition_id="open"/>
    1515  <permission-map name="Modify portal content"
    16                   acquired="False">
    17    <permission-role>Owner</permission-role>
    18    <permission-role>Manager</permission-role>
    19    <permission-role>SectionManager</permission-role>
     16                  acquired="True">
    2017  </permission-map>
    21   <permission-map name="View" acquired="False">
    22    <permission-role>Owner</permission-role>
    23    <permission-role>Manager</permission-role>
    24    <permission-role>SectionManager</permission-role>
     18  <permission-map name="View" acquired="True">
    2519  </permission-map>
    2620  <permission-map name="WAeUPModify own content"
    27                   acquired="False">
    28    <permission-role>Owner</permission-role>
     21                  acquired="True">
    2922  </permission-map>
    3023 </state>
     
    3225  <exit-transition transition_id="close"/>
    3326  <permission-map name="Modify portal content"
    34                   acquired="False">
     27                  acquired="True">
    3528   <permission-role>Owner</permission-role>
    36    <permission-role>SectionManager</permission-role>
    37    <permission-role>Manager</permission-role>
    3829  </permission-map>
    39   <permission-map name="View" acquired="False">
     30  <permission-map name="View" acquired="True">
    4031   <permission-role>Owner</permission-role>
    4132  </permission-map>
    4233  <permission-map name="WAeUPModify own content"
    43                   acquired="False">
     34                  acquired="True">
    4435   <permission-role>Owner</permission-role>
    4536  </permission-map>
     
    5041 
    5142  <guard>
    52    <guard-permission>WAeUPModify own content</guard-permission>
     43   <guard-role>Manager</guard-role>
     44   <guard-role>SectionManager</guard-role>
     45   <guard-role>Owner</guard-role>
    5346  </guard>
    5447 </transition>
     
    6760 
    6861  <guard>
    69    <guard-permission>WAeUPModify own content</guard-permission>
     62   <guard-role>Manager</guard-role>
     63   <guard-role>SectionManager</guard-role>
     64   <guard-role>Owner</guard-role>
    7065  </guard>
    7166 </transition>
    7267</cps-workflow>
    73 
  • WAeUP_SRP/trunk/profiles/default/workflows/waeup_student_wf/definition.xml

    r643 r659  
    77 <permission>View</permission>
    88 <state state_id="admission_applied" title="">
    9  <exit-transition transition_id="create_content"/>
     9  <exit-transition transition_id="create_content"/>
    1010  <exit-transition transition_id="pume_fail"/>
    1111  <exit-transition transition_id="pume_pass"/>
     
    2121  <permission-map name="Modify portal content"
    2222                  acquired="True">
    23    <permission-role>Anonymous</permission-role>
    2423  </permission-map>
    2524  <permission-map name="View" acquired="True">
     
    3534  <exit-transition transition_id="reject_clearance"/>
    3635 </state>
    37  <state state_id="closed" title="">
    38   <exit-transition transition_id="open"/>
    39  </state>
    4036 <state state_id="created" title="">
    4137  <exit-transition transition_id="create_content"/>
     
    4339  <exit-transition transition_id="open"/>
    4440  <permission-map name="Modify portal content"
    45                   acquired="False">
    46    <permission-role>Owner</permission-role>
    47    <permission-role>Manager</permission-role>
    48    <permission-role>SectionManager</permission-role>
     41                  acquired="True">
    4942  </permission-map>
    5043  <permission-map name="View" acquired="True">
     
    5245 </state>
    5346 <state state_id="finally_rejected" title="">
    54  </state>
    55  <state state_id="opened" title="">
    56   <exit-transition transition_id="close"/>
    57   <permission-map name="Modify portal content"
    58                   acquired="True">
    59    <permission-role>Owner</permission-role>
    60   </permission-map>
    61   <permission-map name="View" acquired="True">
    62   </permission-map>
    6347 </state>
    6448 <state state_id="pume_failed" title="">
     
    9983  </guard>
    10084 </transition>
    101  <transition transition_id="close" title=""
    102              new_state="closed" trigger="USER"
    103              before_script="" after_script="">
    104  
    105   <guard>
    106    <guard-role>Manager</guard-role>
    107    <guard-role>SectionManager</guard-role>
    108   </guard>
    109  </transition>
    11085 <transition transition_id="create" title=""
    11186             new_state="created" trigger="USER"
     
    12297 
    12398  <guard>
     99   <guard-role>Manager</guard-role>
     100   <guard-role>SectionManager</guard-role>
     101   <guard-role>Owner</guard-role>
    124102  </guard>
    125103  <transition-behavior behavior_id="allow-sub-create"/>
    126   <transition-behavior behavior_id="allow-sub-delete"/>
    127104 </transition>
    128105 <transition transition_id="enter_application_pin" title=""
     
    131108 
    132109  <guard>
    133    <guard-permission>Modify portal content</guard-permission>
    134    <guard-permission></guard-permission>
     110   <guard-role>Manager</guard-role>
     111   <guard-role>SectionManager</guard-role>
     112   <guard-role>Owner</guard-role>
    135113  </guard>
    136114 </transition>
     
    153131   <guard-role>SectionManager</guard-role>
    154132   <guard-role>ClearanceOfficer</guard-role>
    155   </guard>
    156  </transition>
    157  <transition transition_id="open" title=""
    158              new_state="opened" trigger="USER"
    159              before_script="" after_script="">
    160  
    161   <guard>
    162    <guard-role>Manager</guard-role>
    163    <guard-role>SectionManager</guard-role>
    164133  </guard>
    165134 </transition>
     
    214183  </guard>
    215184 </transition>
     185 <variable variable_id="time" for_catalog="True"
     186           for_status="True" update_always="True">
     187  <description>Time of the last transition</description>
     188  <default>
     189   
     190   <expression>state_change/getDateTime</expression>
     191  </default>
     192  <guard>
     193  </guard>
     194 </variable>
    216195 <script script_id="open_application_personal"
    217196         type="Script (Python)"
  • WAeUP_SRP/trunk/profiles/default/workflows/waeup_student_wf/scripts/open_application_personal.py

    r514 r659  
    1 ## Script (Python) "open_personal"
     1## Script (Python) "open_application_personal"
    22##bind container=container
    33##bind context=context
Note: See TracChangeset for help on using the changeset viewer.