Ignore:
Timestamp:
14 Oct 2008, 10:11:54 (16 years ago)
Author:
Henrik Bettermann
Message:
  • enable reg_transition by import in edit mode
  • add graduate transition and graduated state to student workflow
Location:
WAeUP_SRP/trunk/profiles
Files:
2 edited

Legend:

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

    r3689 r3726  
    132132  </permission-map>
    133133 </state>
     134 <state state_id="graduated" title="">
     135  <exit-transition transition_id="return"/>
     136  <permission-map name="Delete objects" acquired="True">
     137   <permission-role>Manager</permission-role>
     138   <permission-role>SectionManager</permission-role>
     139   <permission-role>SectionOfficer</permission-role>
     140  </permission-map>
     141  <permission-map name="Modify portal content"
     142                  acquired="False">
     143   <permission-role>Manager</permission-role>
     144   <permission-role>SectionManager</permission-role>
     145   <permission-role>SectionOfficer</permission-role>
     146  </permission-map>
     147  <permission-map name="View" acquired="True">
     148   <permission-role>Owner</permission-role>
     149  </permission-map>
     150 </state>
    134151 <state state_id="deferred" title="">
    135152  <exit-transition transition_id="deactivate"/>
     
    167184  <exit-transition transition_id="deactivate"/>
    168185  <exit-transition transition_id="pay_school_fee"/>
     186  <exit-transition transition_id="graduate"/>
    169187  <permission-map name="Delete objects" acquired="False">
    170188   <permission-role>Manager</permission-role>
     
    281299  </guard>
    282300 </transition>
     301 <transition transition_id="graduate" title=""
     302             new_state="graduated" trigger="USER"
     303             before_script="" after_script="">
     304
     305
     306  <guard>
     307   <guard-role>SectionOfficer</guard-role>
     308   <guard-role>Manager</guard-role>
     309   <guard-role>SectionManager</guard-role>
     310  </guard>
     311 </transition>
    283312 <transition transition_id="defer" title=""
    284313             new_state="deferred" trigger="USER"
  • WAeUP_SRP/trunk/profiles/uniben/actions.xml

    r3715 r3726  
    77   <permission>View</permission>
    88  </action>
     9 </action-provider>
     10 <action-provider name="portal_actions">
     11  <action title="Send Email" action_id="send_email_form" category="global"
     12     condition_expr="python:str(member) in ('admin','med')"
     13     url_expr="string:${portal_url}/send_email_form" visible="True">
     14   <permission>View</permission>
     15  </action>     
     16 </action-provider>
    917</object>
Note: See TracChangeset for help on using the changeset viewer.