Index: WAeUP_SRP/trunk/profiles/default/workflows/waeup_acco_folder_wf/definition.xml
===================================================================
--- WAeUP_SRP/trunk/profiles/default/workflows/waeup_acco_folder_wf/definition.xml	(revision 950)
+++ WAeUP_SRP/trunk/profiles/default/workflows/waeup_acco_folder_wf/definition.xml	(revision 950)
@@ -0,0 +1,46 @@
+<?xml version="1.0"?>
+<cps-workflow workflow_id="waeup_acco_folder_wf"
+              title="CPS Workflow Definition"
+              state_variable="review_state"
+              meta_type="CPS Workflow">
+ <permission>Delete objects</permission>
+ <permission>View</permission>
+ <state state_id="static" title="">
+  <exit-transition transition_id="create_content"/>
+  <exit-transition transition_id="cut_copy_paste"/>
+  <permission-map name="Delete objects" acquired="True">
+  </permission-map>
+  <permission-map name="View" acquired="False">
+   <permission-role>Manager</permission-role>
+   <permission-role>SectionManager</permission-role>
+   <permission-role>SectionOfficer</permission-role>
+   <permission-role>SectionReader</permission-role>
+   <permission-role>SectionReviewer</permission-role>
+  </permission-map>
+ </state>
+ <transition transition_id="create" title="Initial creation"
+             new_state="static" trigger="USER"
+             before_script="" after_script="">
+
+  <guard>
+   <guard-role>Manager</guard-role>
+   <guard-role>SectionManager</guard-role>
+   <guard-role>SectionOfficer</guard-role>
+  </guard>
+  <transition-behavior behavior_id="initial-create"/>
+ </transition>
+ <transition transition_id="create_content"
+             title="Create content" new_state=""
+             trigger="USER" before_script="" after_script="">
+
+  <guard>
+   <guard-role>Manager</guard-role>
+   <guard-role>SectionManager</guard-role>
+   <guard-role>SectionReviewer</guard-role>
+   <guard-role>SectionReader</guard-role>
+   <guard-role>SectionOfficer</guard-role>
+  </guard>
+  <transition-behavior behavior_id="allow-sub-create"/>
+  <transition-behavior behavior_id="allow-sub-publishing"/>
+ </transition>
+</cps-workflow>
Index: WAeUP_SRP/trunk/profiles/default/workflows/waeup_scbf_wf/definition.xml
===================================================================
--- WAeUP_SRP/trunk/profiles/default/workflows/waeup_scbf_wf/definition.xml	(revision 950)
+++ WAeUP_SRP/trunk/profiles/default/workflows/waeup_scbf_wf/definition.xml	(revision 950)
@@ -0,0 +1,46 @@
+<?xml version="1.0"?>
+<cps-workflow workflow_id="waeup_scbf_wf"
+              title="CPS Workflow Definition"
+              state_variable="review_state"
+              meta_type="CPS Workflow">
+ <permission>Delete objects</permission>
+ <permission>View</permission>
+ <state state_id="static" title="">
+  <exit-transition transition_id="create_content"/>
+  <exit-transition transition_id="cut_copy_paste"/>
+  <permission-map name="Delete objects" acquired="False">
+  </permission-map>
+  <permission-map name="View" acquired="False">
+   <permission-role>Manager</permission-role>
+   <permission-role>SectionManager</permission-role>
+   <permission-role>SectionOfficer</permission-role>
+   <permission-role>SectionReader</permission-role>
+   <permission-role>SectionReviewer</permission-role>
+  </permission-map>
+ </state>
+ <transition transition_id="create" title="Initial creation"
+             new_state="static" trigger="USER"
+             before_script="" after_script="">
+  
+  <guard>
+   <guard-role>Manager</guard-role>
+   <guard-role>SectionManager</guard-role>
+   <guard-role>SectionOfficer</guard-role>
+  </guard>
+  <transition-behavior behavior_id="initial-create"/>
+ </transition>
+ <transition transition_id="create_content"
+             title="Create content" new_state=""
+             trigger="USER" before_script="" after_script="">
+  
+  <guard>
+   <guard-role>Manager</guard-role>
+   <guard-role>SectionManager</guard-role>
+   <guard-role>SectionReviewer</guard-role>
+   <guard-role>SectionReader</guard-role>
+   <guard-role>SectionOfficer</guard-role>
+  </guard>
+  <transition-behavior behavior_id="allow-sub-create"/>
+  <transition-behavior behavior_id="allow-sub-publishing"/>
+ </transition>
+</cps-workflow>
Index: WAeUP_SRP/trunk/profiles/default/workflows/waeup_student_wf/definition.xml
===================================================================
--- WAeUP_SRP/trunk/profiles/default/workflows/waeup_student_wf/definition.xml	(revision 943)
+++ WAeUP_SRP/trunk/profiles/default/workflows/waeup_student_wf/definition.xml	(revision 950)
@@ -4,4 +4,5 @@
               state_variable="review_state"
               meta_type="CPS Workflow">
+ <permission>Delete objects</permission>
  <permission>Modify portal content</permission>
  <permission>View</permission>
@@ -10,4 +11,5 @@
   <exit-transition transition_id="pume_fail"/>
   <exit-transition transition_id="pume_pass"/>
+  <permission-map name="Delete objects" acquired="False" />
   <permission-map name="Modify portal content"
                   acquired="True">
@@ -20,4 +22,5 @@
  <state state_id="admission_rejected" title="">
   <exit-transition transition_id="finally_reject"/>
+  <permission-map name="Delete objects" acquired="False" />
   <permission-map name="Modify portal content"
                   acquired="True">
@@ -32,7 +35,7 @@
   <exit-transition transition_id="enter_clearance_pin"/>
   <exit-transition transition_id="raise_objection"/>
-  <permission-map name="Modify portal content"
-                  acquired="True">
-   <permission-role>SectionOfficer</permission-role>
+  <permission-map name="Delete objects" acquired="False" />
+  <permission-map name="Modify portal content"
+                  acquired="True">
   </permission-map>
   <permission-map name="View" acquired="True">
@@ -44,4 +47,5 @@
   <exit-transition transition_id="apply_for_admission"/>
   <exit-transition transition_id="create_content"/>
+  <permission-map name="Delete objects" acquired="False" />
   <permission-map name="Modify portal content"
                   acquired="True">
@@ -56,4 +60,5 @@
   <exit-transition transition_id="create_content"/>
   <exit-transition transition_id="request_clearance"/>
+  <permission-map name="Delete objects" acquired="False" />
   <permission-map name="Modify portal content"
                   acquired="True">
@@ -70,4 +75,5 @@
   <exit-transition transition_id="reject_clearance"/>
   <exit-transition transition_id="create_content"/>
+  <permission-map name="Delete objects" acquired="False" />
   <permission-map name="Modify portal content"
                   acquired="True">
@@ -83,4 +89,5 @@
   <exit-transition transition_id="create_content"/>
   <exit-transition transition_id="reject_clearance"/>
+  <permission-map name="Delete objects" acquired="False" />
   <permission-map name="Modify portal content"
                   acquired="True">
@@ -95,4 +102,5 @@
  <state state_id="deferred" title="">
   <exit-transition transition_id="admit"/>
+  <permission-map name="Delete objects" acquired="False" />
   <permission-map name="Modify portal content"
                   acquired="True">
@@ -104,4 +112,5 @@
  </state>
  <state state_id="finally_rejected" title="">
+  <permission-map name="Delete objects" acquired="False" />
   <permission-map name="Modify portal content"
                   acquired="True">
@@ -116,4 +125,5 @@
  <state state_id="objection_raised" title="">
   <exit-transition transition_id="enter_clearance_pin"/>
+  <permission-map name="Delete objects" acquired="False" />
   <permission-map name="Modify portal content"
                   acquired="True">
@@ -127,4 +137,5 @@
  <state state_id="pume_failed" title="">
   <exit-transition transition_id="reject_admission"/>
+  <permission-map name="Delete objects" acquired="False" />
   <permission-map name="Modify portal content"
                   acquired="True">
@@ -139,4 +150,5 @@
   <exit-transition transition_id="admit"/>
   <exit-transition transition_id="reject_admission"/>
+  <permission-map name="Delete objects" acquired="False" />
   <permission-map name="Modify portal content"
                   acquired="True">
@@ -156,4 +168,5 @@
   <exit-transition transition_id="pume_pass"/>
   <exit-transition transition_id="reject_admission"/>
+  <permission-map name="Delete objects" acquired="False" />
   <permission-map name="Modify portal content"
                   acquired="True">
@@ -168,5 +181,5 @@
              new_state="admitted" trigger="USER"
              before_script="" after_script="">
-  
+
   <guard>
    <guard-role>SectionOfficer</guard-role>
@@ -179,5 +192,5 @@
              new_state="admission_applied" trigger="USER"
              before_script="" after_script="">
-  
+
   <guard>
    <guard-role>SectionOfficer</guard-role>
@@ -190,5 +203,5 @@
              new_state="cleared_and_validated"
              trigger="USER" before_script="" after_script="">
-  
+
   <guard>
    <guard-role>SectionOfficer</guard-role>
@@ -201,5 +214,5 @@
              new_state="student_created" trigger="USER"
              before_script="" after_script="">
-  
+
   <guard>
   </guard>
@@ -210,5 +223,5 @@
              new_state="" trigger="USER" before_script=""
              after_script="">
-  
+
   <guard>
    <guard-role>SectionOfficer</guard-role>
@@ -222,5 +235,5 @@
              new_state="deferred" trigger="USER"
              before_script="" after_script="">
-  
+
   <guard>
    <guard-role>SectionOfficer</guard-role>
@@ -233,5 +246,5 @@
              new_state="application_pin_entered"
              trigger="USER" before_script="" after_script="">
-  
+
   <guard>
    <guard-role>SectionOfficer</guard-role>
@@ -244,5 +257,5 @@
              new_state="clearance_pin_entered"
              trigger="USER" before_script="" after_script="">
-  
+
   <guard>
    <guard-role>SectionOfficer</guard-role>
@@ -255,5 +268,5 @@
              new_state="finally_rejected" trigger="USER"
              before_script="" after_script="">
-  
+
   <guard>
    <guard-role>SectionOfficer</guard-role>
@@ -266,5 +279,5 @@
              new_state="pume_failed" trigger="USER"
              before_script="" after_script="">
-  
+
   <guard>
    <guard-role>SectionOfficer</guard-role>
@@ -277,5 +290,5 @@
              new_state="pume_passed" trigger="USER"
              before_script="" after_script="">
-  
+
   <guard>
    <guard-role>SectionOfficer</guard-role>
@@ -288,5 +301,5 @@
              new_state="objection_raised" trigger="USER"
              before_script="" after_script="">
-  
+
   <guard>
    <guard-role>SectionOfficer</guard-role>
@@ -300,5 +313,5 @@
              new_state="admission_rejected" trigger="USER"
              before_script="" after_script="">
-  
+
   <guard>
    <guard-role>SectionOfficer</guard-role>
@@ -311,5 +324,5 @@
              new_state="clearance_pin_entered"
              trigger="USER" before_script="" after_script="">
-  
+
   <guard>
    <guard-role>SectionOfficer</guard-role>
@@ -322,5 +335,5 @@
              new_state="clearance_requested" trigger="USER"
              before_script="" after_script="">
-  
+
   <guard>
    <guard-role>SectionOfficer</guard-role>
@@ -334,5 +347,5 @@
   <description>Time of the last transition</description>
   <default>
-   
+
    <expression>state_change/getDateTime</expression>
   </default>
Index: WAeUP_SRP/trunk/profiles/default/workflows/waeup_students_folder_wf/definition.xml
===================================================================
--- WAeUP_SRP/trunk/profiles/default/workflows/waeup_students_folder_wf/definition.xml	(revision 950)
+++ WAeUP_SRP/trunk/profiles/default/workflows/waeup_students_folder_wf/definition.xml	(revision 950)
@@ -0,0 +1,47 @@
+<?xml version="1.0"?>
+<cps-workflow workflow_id="waeup_students_folder_wf"
+              title="CPS Workflow Definition"
+              state_variable="review_state"
+              meta_type="CPS Workflow">
+ <permission>Delete objects</permission>
+ <permission>View</permission>
+ <state state_id="static" title="">
+  <exit-transition transition_id="create_content"/>
+  <exit-transition transition_id="cut_copy_paste"/>
+  <permission-map name="Delete objects" acquired="False">
+   <permission-role>Manager</permission-role>
+  </permission-map>
+  <permission-map name="View" acquired="False">
+   <permission-role>Manager</permission-role>
+   <permission-role>SectionManager</permission-role>
+   <permission-role>SectionOfficer</permission-role>
+   <permission-role>SectionReader</permission-role>
+   <permission-role>SectionReviewer</permission-role>
+  </permission-map>
+ </state>
+ <transition transition_id="create" title="Initial creation"
+             new_state="static" trigger="USER"
+             before_script="" after_script="">
+
+  <guard>
+   <guard-role>Manager</guard-role>
+   <guard-role>SectionManager</guard-role>
+   <guard-role>SectionOfficer</guard-role>
+  </guard>
+  <transition-behavior behavior_id="initial-create"/>
+ </transition>
+ <transition transition_id="create_content"
+             title="Create content" new_state=""
+             trigger="USER" before_script="" after_script="">
+
+  <guard>
+   <guard-role>Manager</guard-role>
+   <guard-role>SectionManager</guard-role>
+   <guard-role>SectionReviewer</guard-role>
+   <guard-role>SectionReader</guard-role>
+   <guard-role>SectionOfficer</guard-role>
+  </guard>
+  <transition-behavior behavior_id="allow-sub-create"/>
+  <transition-behavior behavior_id="allow-sub-publishing"/>
+ </transition>
+</cps-workflow>
