- Timestamp:
- 24 Jul 2007, 13:08:54 (17 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/workflows/waeup_student_subobject_wf/definition.xml
r2009 r2053 86 86 <exit-transition transition_id="create_content"/> 87 87 <permission-map name="Add portal content" acquired="True"> 88 <permission-role>CourseAdviser</permission-role> 88 89 <permission-role>SectionOfficer</permission-role> 89 90 </permission-map> 90 91 <permission-map name="Delete objects" acquired="False"> 92 <permission-role>CourseAdviser</permission-role> 91 93 <permission-role>Manager</permission-role> 92 94 <permission-role>SectionManager</permission-role> … … 94 96 <permission-map name="Modify portal content" 95 97 acquired="True"> 98 <permission-role>CourseAdviser</permission-role> 96 99 <permission-role>Owner</permission-role> 97 100 <permission-role>SectionOfficer</permission-role> 98 101 </permission-map> 99 102 <permission-map name="View" acquired="True"> 103 <permission-role>CourseAdviser</permission-role> 100 104 <permission-role>Owner</permission-role> 101 105 <permission-role>SectionOfficer</permission-role> … … 105 109 new_state="closed" trigger="USER" 106 110 before_script="" after_script=""> 107 111 108 112 <guard> 109 113 <guard-role>SectionOfficer</guard-role> … … 117 121 new_state="content_addable" trigger="USER" 118 122 before_script="" after_script=""> 119 123 120 124 <guard> 121 125 <guard-role>SectionOfficer</guard-role> … … 129 133 new_state="created" trigger="USER" 130 134 before_script="" after_script=""> 131 135 132 136 <guard> 133 137 </guard> … … 138 142 new_state="" trigger="USER" before_script="" 139 143 after_script=""> 140 144 141 145 <guard> 142 146 </guard> … … 146 150 new_state="opened" trigger="USER" 147 151 before_script="" after_script=""> 148 152 149 153 <guard> 150 154 <guard-role>SectionOfficer</guard-role> -
WAeUP_SRP/trunk/skins/waeup_student/course_edit.py
r1864 r2053 30 30 result_state = wf.getInfoFor(context,'review_state',None) 31 31 if result_state == "closed": 32 context.portal_workflow.doActionFor(context,'open') 32 try: 33 context.portal_workflow.doActionFor(context,'open') 34 except: 35 pass 33 36 34 37 is_valid, ds = course_doc.validate(request=REQUEST,
Note: See TracChangeset for help on using the changeset viewer.