Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/level_delete.py
r2448 r2817 47 47 # evtool = getPublicEventService(here) 48 48 # evtool.notifyEvent('workflow_delete', ob, {}) 49 context.waeup_tool.updateRoleMappingsFor('waeup_student_subobject_wf',context) 49 50 for level_id in ids: 50 51 context.course_results.deleteResultsHere(level_id,student_id) 51 52 here.manage_delObjects(ids) 52 53 53 54 message = 'portal_status_message=psm_item(s)_deleted' 54 55 else: -
WAeUP_SRP/uniben/profiles/default/workflows/waeup_student_subobject_wf/definition.xml
r2696 r2817 20 20 <permission-role>Manager</permission-role> 21 21 <permission-role>SectionManager</permission-role> 22 <permission-role>SectionOfficer</permission-role> 22 23 </permission-map> 23 24 <permission-map name="Modify portal content" … … 95 96 <permission-role>Manager</permission-role> 96 97 <permission-role>SectionManager</permission-role> 98 <permission-role>SectionOfficer</permission-role> 97 99 </permission-map> 98 100 <permission-map name="Modify portal content" … … 113 115 new_state="closed" trigger="USER" 114 116 before_script="" after_script=""> 115 116 117 118 117 119 <guard> 118 120 <guard-role>SectionOfficer</guard-role> … … 126 128 new_state="content_addable" trigger="USER" 127 129 before_script="" after_script=""> 128 129 130 131 130 132 <guard> 131 133 <guard-role>SectionOfficer</guard-role> … … 139 141 new_state="created" trigger="USER" 140 142 before_script="" after_script=""> 141 142 143 144 143 145 <guard> 144 146 </guard> … … 149 151 new_state="" trigger="USER" before_script="" 150 152 after_script=""> 151 152 153 154 153 155 <guard> 154 156 </guard> … … 158 160 new_state="opened" trigger="USER" 159 161 before_script="" after_script=""> 160 161 162 163 162 164 <guard> 163 165 <guard-role>SectionOfficer</guard-role>
Note: See TracChangeset for help on using the changeset viewer.