- Timestamp:
- 27 Nov 2006, 15:09:30 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 6 added
- 2 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/exportimport.py
r949 r950 43 43 """ 44 44 importer = zapi.queryMultiAdapter((obj, context), IBody) 45 45 46 46 path = '%s%s' % (parent_path, obj.getId().replace(' ', '_')) 47 47 __traceback_info__ = path … … 88 88 importWAeUPTable(site.portal_accommodation, '', context,'accommodation') 89 89 importWAeUPTable(site.portal_pins, '', context,'pins') 90 90 91 91 from Products.CPSCore.exportimport.catalog import CatalogToolXMLAdapter 92 92 #from Products.GenericSetup.ZCatalog.exportimport import ZCatalogXMLAdapter -
WAeUP_SRP/trunk/profiles/default/types/StudentsFolder.xml
r941 r950 38 38 <action title="action_edit" action_id="edit" category="object" 39 39 condition_expr="python:member and 'Manager' in member.getRoles()" 40 url_expr="string:${object_url}/waeup_edit_form" visible=" True">40 url_expr="string:${object_url}/waeup_edit_form" visible="False"> 41 41 <permission value="Modify portal content"/> 42 42 </action> -
WAeUP_SRP/trunk/profiles/default/workflows.xml
r941 r950 7 7 <object name="waeup_base_wf" meta_type="CPS Workflow"/> 8 8 <object name="waeup_section_wf" meta_type="CPS Workflow"/> 9 <object name="waeup_scbf_wf" meta_type="CPS Workflow"/> 10 <object name="waeup_students_folder_wf" meta_type="CPS Workflow"/> 11 <object name="waeup_acco_folder_wf" meta_type="CPS Workflow"/> 9 12 <object name="waeup_student_accommodation_wf" meta_type="CPS Workflow"/> 10 13 <object name="waeup_student_subobject_wf" meta_type="CPS Workflow"/> … … 22 25 </type> 23 26 <type type_id="AccoFolder"> 24 <bound-workflow workflow_id="waeup_ section_wf"/>27 <bound-workflow workflow_id="waeup_acco_folder_wf"/> 25 28 </type> 26 29 <type type_id="AccoHall"> … … 54 57 <bound-workflow workflow_id="waeup_section_wf"/> 55 58 </type> 56 <type type_id="Jamb">57 <bound-workflow workflow_id="waeup_base_wf"/>58 </type>59 59 <type type_id="Members Workspace"> 60 60 <bound-workflow workflow_id="workspace_folder_wf"/> … … 64 64 </type> 65 65 <type type_id="ScratchCardBatchesFolder"> 66 <bound-workflow workflow_id="waeup_s ection_wf"/>66 <bound-workflow workflow_id="waeup_scbf_wf"/> 67 67 </type> 68 68 <type type_id="Section"> … … 90 90 <bound-workflow workflow_id="waeup_student_subobject_wf"/> 91 91 </type> 92 <type type_id="StudentDocuments">93 <bound-workflow workflow_id="waeup_base_wf"/>94 </type>95 <type type_id="StudentElegibility">96 <bound-workflow workflow_id="waeup_base_wf"/>97 </type>98 <type type_id="StudentEligibility">99 <bound-workflow workflow_id="waeup_base_wf"/>100 </type>101 92 <type type_id="StudentPersonal"> 102 93 <bound-workflow workflow_id="waeup_student_subobject_wf"/> … … 115 106 </type> 116 107 <type type_id="StudentsFolder"> 117 <bound-workflow workflow_id="waeup_s ection_wf"/>108 <bound-workflow workflow_id="waeup_students_folder_wf"/> 118 109 </type> 119 110 <type type_id="StudyLevel"> -
WAeUP_SRP/trunk/profiles/default/workflows/waeup_student_wf/definition.xml
r939 r950 4 4 state_variable="review_state" 5 5 meta_type="CPS Workflow"> 6 <permission>Delete objects</permission> 6 7 <permission>Modify portal content</permission> 7 8 <permission>View</permission> … … 10 11 <exit-transition transition_id="pume_fail"/> 11 12 <exit-transition transition_id="pume_pass"/> 13 <permission-map name="Delete objects" acquired="False" /> 12 14 <permission-map name="Modify portal content" 13 15 acquired="True"> … … 20 22 <state state_id="admission_rejected" title=""> 21 23 <exit-transition transition_id="finally_reject"/> 24 <permission-map name="Delete objects" acquired="False" /> 22 25 <permission-map name="Modify portal content" 23 26 acquired="True"> … … 32 35 <exit-transition transition_id="enter_clearance_pin"/> 33 36 <exit-transition transition_id="raise_objection"/> 34 <permission-map name=" Modify portal content"35 acquired="True">36 <permission-role>SectionOfficer</permission-role>37 <permission-map name="Delete objects" acquired="False" /> 38 <permission-map name="Modify portal content" 39 acquired="True"> 37 40 </permission-map> 38 41 <permission-map name="View" acquired="True"> … … 44 47 <exit-transition transition_id="apply_for_admission"/> 45 48 <exit-transition transition_id="create_content"/> 49 <permission-map name="Delete objects" acquired="False" /> 46 50 <permission-map name="Modify portal content" 47 51 acquired="True"> … … 56 60 <exit-transition transition_id="create_content"/> 57 61 <exit-transition transition_id="request_clearance"/> 62 <permission-map name="Delete objects" acquired="False" /> 58 63 <permission-map name="Modify portal content" 59 64 acquired="True"> … … 70 75 <exit-transition transition_id="reject_clearance"/> 71 76 <exit-transition transition_id="create_content"/> 77 <permission-map name="Delete objects" acquired="False" /> 72 78 <permission-map name="Modify portal content" 73 79 acquired="True"> … … 83 89 <exit-transition transition_id="create_content"/> 84 90 <exit-transition transition_id="reject_clearance"/> 91 <permission-map name="Delete objects" acquired="False" /> 85 92 <permission-map name="Modify portal content" 86 93 acquired="True"> … … 95 102 <state state_id="deferred" title=""> 96 103 <exit-transition transition_id="admit"/> 104 <permission-map name="Delete objects" acquired="False" /> 97 105 <permission-map name="Modify portal content" 98 106 acquired="True"> … … 104 112 </state> 105 113 <state state_id="finally_rejected" title=""> 114 <permission-map name="Delete objects" acquired="False" /> 106 115 <permission-map name="Modify portal content" 107 116 acquired="True"> … … 116 125 <state state_id="objection_raised" title=""> 117 126 <exit-transition transition_id="enter_clearance_pin"/> 127 <permission-map name="Delete objects" acquired="False" /> 118 128 <permission-map name="Modify portal content" 119 129 acquired="True"> … … 127 137 <state state_id="pume_failed" title=""> 128 138 <exit-transition transition_id="reject_admission"/> 139 <permission-map name="Delete objects" acquired="False" /> 129 140 <permission-map name="Modify portal content" 130 141 acquired="True"> … … 139 150 <exit-transition transition_id="admit"/> 140 151 <exit-transition transition_id="reject_admission"/> 152 <permission-map name="Delete objects" acquired="False" /> 141 153 <permission-map name="Modify portal content" 142 154 acquired="True"> … … 156 168 <exit-transition transition_id="pume_pass"/> 157 169 <exit-transition transition_id="reject_admission"/> 170 <permission-map name="Delete objects" acquired="False" /> 158 171 <permission-map name="Modify portal content" 159 172 acquired="True"> … … 168 181 new_state="admitted" trigger="USER" 169 182 before_script="" after_script=""> 170 183 171 184 <guard> 172 185 <guard-role>SectionOfficer</guard-role> … … 179 192 new_state="admission_applied" trigger="USER" 180 193 before_script="" after_script=""> 181 194 182 195 <guard> 183 196 <guard-role>SectionOfficer</guard-role> … … 190 203 new_state="cleared_and_validated" 191 204 trigger="USER" before_script="" after_script=""> 192 205 193 206 <guard> 194 207 <guard-role>SectionOfficer</guard-role> … … 201 214 new_state="student_created" trigger="USER" 202 215 before_script="" after_script=""> 203 216 204 217 <guard> 205 218 </guard> … … 210 223 new_state="" trigger="USER" before_script="" 211 224 after_script=""> 212 225 213 226 <guard> 214 227 <guard-role>SectionOfficer</guard-role> … … 222 235 new_state="deferred" trigger="USER" 223 236 before_script="" after_script=""> 224 237 225 238 <guard> 226 239 <guard-role>SectionOfficer</guard-role> … … 233 246 new_state="application_pin_entered" 234 247 trigger="USER" before_script="" after_script=""> 235 248 236 249 <guard> 237 250 <guard-role>SectionOfficer</guard-role> … … 244 257 new_state="clearance_pin_entered" 245 258 trigger="USER" before_script="" after_script=""> 246 259 247 260 <guard> 248 261 <guard-role>SectionOfficer</guard-role> … … 255 268 new_state="finally_rejected" trigger="USER" 256 269 before_script="" after_script=""> 257 270 258 271 <guard> 259 272 <guard-role>SectionOfficer</guard-role> … … 266 279 new_state="pume_failed" trigger="USER" 267 280 before_script="" after_script=""> 268 281 269 282 <guard> 270 283 <guard-role>SectionOfficer</guard-role> … … 277 290 new_state="pume_passed" trigger="USER" 278 291 before_script="" after_script=""> 279 292 280 293 <guard> 281 294 <guard-role>SectionOfficer</guard-role> … … 288 301 new_state="objection_raised" trigger="USER" 289 302 before_script="" after_script=""> 290 303 291 304 <guard> 292 305 <guard-role>SectionOfficer</guard-role> … … 300 313 new_state="admission_rejected" trigger="USER" 301 314 before_script="" after_script=""> 302 315 303 316 <guard> 304 317 <guard-role>SectionOfficer</guard-role> … … 311 324 new_state="clearance_pin_entered" 312 325 trigger="USER" before_script="" after_script=""> 313 326 314 327 <guard> 315 328 <guard-role>SectionOfficer</guard-role> … … 322 335 new_state="clearance_requested" trigger="USER" 323 336 before_script="" after_script=""> 324 337 325 338 <guard> 326 339 <guard-role>SectionOfficer</guard-role> … … 334 347 <description>Time of the last transition</description> 335 348 <default> 336 349 337 350 <expression>state_change/getDateTime</expression> 338 351 </default>
Note: See TracChangeset for help on using the changeset viewer.