Ignore:
Timestamp:
20 Oct 2006, 15:49:01 (18 years ago)
Author:
Henrik Bettermann
Message:

'Add portal content' now managed by workflow

File:
1 edited

Legend:

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

    r729 r730  
    44              state_variable="review_state"
    55              meta_type="CPS Workflow">
     6 <permission>Add portal content</permission>
    67 <permission>Modify portal content</permission>
    78 <permission>View</permission>
     
    1314  <exit-transition transition_id="create_content"/>
    1415  <exit-transition transition_id="open"/>
     16  <permission-map name="Add portal content" acquired="True">
     17   <permission-role>Owner</permission-role>
     18  </permission-map>
     19  <permission-map name="Modify portal content"
     20                  acquired="True">
     21  </permission-map>
     22  <permission-map name="View" acquired="True">
     23  </permission-map>
    1524 </state>
    1625 <state state_id="created" title="">
     
    2332  </permission-map>
    2433  <permission-map name="View" acquired="True">
     34  </permission-map>
     35  <permission-map name="WAeUPModify own content"
     36                  acquired="True">
    2537  </permission-map>
    2638 </state>
     
    3648   <permission-role>Owner</permission-role>
    3749  </permission-map>
     50  <permission-map name="WAeUPModify own content"
     51                  acquired="True">
     52   <permission-role>Owner</permission-role>
     53  </permission-map>
    3854 </state>
    3955 <transition transition_id="close" title=""
    4056             new_state="closed" trigger="USER"
    4157             before_script="" after_script="">
    42 
     58 
    4359  <guard>
    4460   <guard-role>Manager</guard-role>
     
    5066             new_state="content_addable" trigger="USER"
    5167             before_script="" after_script="">
    52 
     68 
    5369  <guard>
    5470  </guard>
     
    5773             new_state="created" trigger="USER"
    5874             before_script="" after_script="">
    59 
     75 
    6076  <guard>
    6177  </guard>
     
    6682             new_state="" trigger="USER" before_script=""
    6783             after_script="">
    68 
     84 
    6985  <guard>
    7086  </guard>
     
    7490             new_state="opened" trigger="USER"
    7591             before_script="" after_script="">
    76 
     92 
    7793  <guard>
    7894   <guard-role>Manager</guard-role>
Note: See TracChangeset for help on using the changeset viewer.