Ignore:
Timestamp:
10 May 2006, 06:58:10 (19 years ago)
Author:
joachim
Message:

=removed files not necessary

File:
1 edited

Legend:

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

    r199 r200  
    33              title="CPS Workflow Definition"
    44              state_variable="review_state"
    5               initial_state="work" meta_type="CPS Workflow">
    6  <permission>Modify portal content</permission>
     5              meta_type="CPS Workflow">
    76 <permission>View</permission>
    87 <state state_id="work" title="Work">
    98  <exit-transition transition_id="create_content"/>
    109  <exit-transition transition_id="cut_copy_paste"/>
    11   <exit-transition transition_id="close"/>
    12   <permission-map name="Modify portal content"
    13                   acquired="True">
    14    <permission-role>StudentManager</permission-role>
    15    <permission-role>UniversityManager</permission-role>
    16    <permission-role>Student</permission-role>
    17   </permission-map>
    18   <permission-map name="View" acquired="True">
    19    <permission-role>Student</permission-role>
     10  <permission-map name="View" acquired="False">
     11   <permission-role>Manager</permission-role>
     12   <permission-role>SectionManager</permission-role>
     13   <permission-role>SectionReviewer</permission-role>
     14   <permission-role>SectionReader</permission-role>
    2015  </permission-map>
    2116 </state>
     
    2318             new_state="work" trigger="USER"
    2419             before_script="" after_script="">
    25   <description>Intial transition like</description>
    2620 
    2721  <guard>
    2822   <guard-role>Manager</guard-role>
    29    <guard-role>StudentManager</guard-role>
    30    <guard-role>UniversityManager</guard-role>
    31    <guard-role>Student</guard-role>
     23   <guard-role>SectionManager</guard-role>
    3224  </guard>
    3325  <transition-behavior behavior_id="initial-create"/>
     
    3628             title="Create content" new_state="work"
    3729             trigger="USER" before_script="" after_script="">
    38   <description>Allow sub Object Create</description>
    39   <action url="" category="">New</action>
     30 
    4031  <guard>
    4132   <guard-role>Manager</guard-role>
    42    <guard-role>StudentManager</guard-role>
    43    <guard-role>UniversityManager</guard-role>
    44    <guard-role>Student</guard-role>
     33   <guard-role>SectionManager</guard-role>
     34   <guard-role>SectionReviewer</guard-role>
     35   <guard-role>SectionReader</guard-role>
    4536  </guard>
    4637  <transition-behavior behavior_id="allow-sub-create"/>
    47   <transition-behavior behavior_id="allow-sub-checkout"/>
     38  <transition-behavior behavior_id="allow-sub-publishing"/>
    4839 </transition>
    4940 <transition transition_id="cut_copy_paste"
    50              title="Cut/Copy/Paste" new_state="work"
     41             title="Cut/Copy/Paste" new_state=""
    5142             trigger="USER" before_script="" after_script="">
    52   <action url="" category="">New</action>
     43 
    5344  <guard>
    5445   <guard-role>Manager</guard-role>
    55    <guard-role>StudentManager</guard-role>
    56    <guard-role>UniversityManager</guard-role>
     46   <guard-role>SectionManager</guard-role>
     47   <guard-role>SectionReviewer</guard-role>
     48   <guard-role>SectionReader</guard-role>
    5749  </guard>
     50  <transition-behavior behavior_id="allow-sub-move"/>
    5851  <transition-behavior behavior_id="allow-sub-delete"/>
    59   <transition-behavior behavior_id="allow-sub-move"/>
    6052  <transition-behavior behavior_id="allow-sub-copy"/>
    6153 </transition>
    62  <variable variable_id="action" for_catalog="False"
    63            for_status="True" update_always="True">
    64   <description>The last transition</description>
    65   <default>
    66    
    67    <expression>transition/getId|nothing</expression>
    68   </default>
    69   <guard>
    70   </guard>
    71  </variable>
    72  <variable variable_id="actor" for_catalog="False"
    73            for_status="True" update_always="True">
    74   <description>The ID of the user who performed the last transition</description>
    75   <default>
    76    
    77    <expression>user/getId</expression>
    78   </default>
    79   <guard>
    80   </guard>
    81  </variable>
    82  <variable variable_id="comments" for_catalog="False"
    83            for_status="True" update_always="True">
    84   <description>Comments about the last transition</description>
    85   <default>
    86    
    87    <expression>python:state_change.kwargs.get('comment', '')</expression>
    88   </default>
    89   <guard>
    90   </guard>
    91  </variable>
    92  <variable variable_id="dest_container" for_catalog="False"
    93            for_status="True" update_always="True">
    94   <description>Destination container for the last paste/publish</description>
    95   <default>
    96    
    97    <expression>python:state_change.kwargs.get('dest_container', '')</expression>
    98   </default>
    99   <guard>
    100   </guard>
    101  </variable>
    102  <variable variable_id="review_history" for_catalog="False"
    103            for_status="False" update_always="False">
    104   <description>Provides access to workflow history</description>
    105   <default>
    106    
    107    <expression>state_change/getHistory</expression>
    108   </default>
    109   <guard>
    110    <guard-role>Manager</guard-role>
    111    <guard-role>WorkspaceManager</guard-role>
    112    <guard-role>WorkspaceMember</guard-role>
    113    <guard-role>WorkspaceReader</guard-role>
    114    <guard-role>Member</guard-role>
    115   </guard>
    116  </variable>
    117  <variable variable_id="time" for_catalog="False"
    118            for_status="True" update_always="True">
    119   <description>Time of the last transition</description>
    120   <default>
    121    
    122    <expression>state_change/getDateTime</expression>
    123   </default>
    124   <guard>
    125   </guard>
    126  </variable>
    12754</cps-workflow>
Note: See TracChangeset for help on using the changeset viewer.