Changeset 729


Ignore:
Timestamp:
20 Oct 2006, 15:44:47 (18 years ago)
Author:
Henrik Bettermann
Message:

permission 'WAeUPModify own content' removed
view method for StudentCourseResult? changed to academics_document_view

Location:
WAeUP_SRP/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/WAeUPPermissions.py

    r535 r729  
    2525from Products.CMFCore.permissions import setDefaultRoles
    2626
    27 WAeUPModifyOwnContent = "WAeUPModify own content"
    28 setDefaultRoles(WAeUPModifyOwnContent, ('Owner',))
     27#WAeUPModifyOwnContent = "WAeUPModify own content"
     28#setDefaultRoles(WAeUPModifyOwnContent, ('Owner',))
  • WAeUP_SRP/trunk/profiles/default/rolemap.xml

    r535 r729  
    88  </roles>
    99  <permissions>
    10     <permission name="WAeUPModify own content" acquire="True">
    11       <role name="Owner"/>
    12       <role name="SectionManager"/>
    13     </permission>
    1410    <permission name="List folder contents" acquire="True">
    1511      <role name="SectionManager"/>
  • WAeUP_SRP/trunk/profiles/default/types/StudentCourseResult.xml

    r727 r729  
    88 <property name="product">WAeUP_SRP</property>
    99 <property name="factory">addStudentCourseResult</property>
    10  <property name="immediate_view">cpsdocument_view</property>
     10 <property name="immediate_view">academics_document_view</property>
    1111 <property name="global_allow">True</property>
    1212 <property name="filter_content_types">True</property>
     
    2626 <property name="storage_methods"/>
    2727 <property name="cps_is_portlet">False</property>
    28  <alias from="(Default)" to="academics_contents"/>
    29  <alias from="view" to="academics_contents"/>
     28 <alias from="(Default)" to="academics_document_view"/>
     29 <alias from="view" to="academics_document_view"/>
    3030 <action title="View" action_id="view" category="object"
    31     condition_expr="" url_expr="string:${object_url}/academics_contents"
     31    condition_expr="" url_expr="string:${object_url}/academics_document_view"
    3232    visible="True">
    3333  <permission value="View"/>
  • WAeUP_SRP/trunk/profiles/default/workflows/waeup_student_subobject_wf/definition.xml

    r727 r729  
    66 <permission>Modify portal content</permission>
    77 <permission>View</permission>
    8  <permission>WAeUPModify own content</permission>
    98 <state state_id="closed" title="">
    109  <exit-transition transition_id="open"/>
     
    2524  <permission-map name="View" acquired="True">
    2625  </permission-map>
    27   <permission-map name="WAeUPModify own content"
    28                   acquired="True">
    29   </permission-map>
    3026 </state>
    3127 <state state_id="opened" title="">
     
    4036   <permission-role>Owner</permission-role>
    4137  </permission-map>
    42   <permission-map name="WAeUPModify own content"
    43                   acquired="True">
    44    <permission-role>Owner</permission-role>
    45   </permission-map>
    4638 </state>
    4739 <transition transition_id="close" title=""
    4840             new_state="closed" trigger="USER"
    4941             before_script="" after_script="">
    50  
     42
    5143  <guard>
    5244   <guard-role>Manager</guard-role>
     
    5850             new_state="content_addable" trigger="USER"
    5951             before_script="" after_script="">
    60  
     52
    6153  <guard>
    6254  </guard>
     
    6557             new_state="created" trigger="USER"
    6658             before_script="" after_script="">
    67  
     59
    6860  <guard>
    6961  </guard>
     
    7466             new_state="" trigger="USER" before_script=""
    7567             after_script="">
    76  
     68
    7769  <guard>
    7870  </guard>
     
    8274             new_state="opened" trigger="USER"
    8375             before_script="" after_script="">
    84  
     76
    8577  <guard>
    8678   <guard-role>Manager</guard-role>
Note: See TracChangeset for help on using the changeset viewer.