Changeset 729
- Timestamp:
- 20 Oct 2006, 15:44:47 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPPermissions.py
r535 r729 25 25 from Products.CMFCore.permissions import setDefaultRoles 26 26 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 8 8 </roles> 9 9 <permissions> 10 <permission name="WAeUPModify own content" acquire="True">11 <role name="Owner"/>12 <role name="SectionManager"/>13 </permission>14 10 <permission name="List folder contents" acquire="True"> 15 11 <role name="SectionManager"/> -
WAeUP_SRP/trunk/profiles/default/types/StudentCourseResult.xml
r727 r729 8 8 <property name="product">WAeUP_SRP</property> 9 9 <property name="factory">addStudentCourseResult</property> 10 <property name="immediate_view"> cpsdocument_view</property>10 <property name="immediate_view">academics_document_view</property> 11 11 <property name="global_allow">True</property> 12 12 <property name="filter_content_types">True</property> … … 26 26 <property name="storage_methods"/> 27 27 <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"/> 30 30 <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" 32 32 visible="True"> 33 33 <permission value="View"/> -
WAeUP_SRP/trunk/profiles/default/workflows/waeup_student_subobject_wf/definition.xml
r727 r729 6 6 <permission>Modify portal content</permission> 7 7 <permission>View</permission> 8 <permission>WAeUPModify own content</permission>9 8 <state state_id="closed" title=""> 10 9 <exit-transition transition_id="open"/> … … 25 24 <permission-map name="View" acquired="True"> 26 25 </permission-map> 27 <permission-map name="WAeUPModify own content"28 acquired="True">29 </permission-map>30 26 </state> 31 27 <state state_id="opened" title=""> … … 40 36 <permission-role>Owner</permission-role> 41 37 </permission-map> 42 <permission-map name="WAeUPModify own content"43 acquired="True">44 <permission-role>Owner</permission-role>45 </permission-map>46 38 </state> 47 39 <transition transition_id="close" title="" 48 40 new_state="closed" trigger="USER" 49 41 before_script="" after_script=""> 50 42 51 43 <guard> 52 44 <guard-role>Manager</guard-role> … … 58 50 new_state="content_addable" trigger="USER" 59 51 before_script="" after_script=""> 60 52 61 53 <guard> 62 54 </guard> … … 65 57 new_state="created" trigger="USER" 66 58 before_script="" after_script=""> 67 59 68 60 <guard> 69 61 </guard> … … 74 66 new_state="" trigger="USER" before_script="" 75 67 after_script=""> 76 68 77 69 <guard> 78 70 </guard> … … 82 74 new_state="opened" trigger="USER" 83 75 before_script="" after_script=""> 84 76 85 77 <guard> 86 78 <guard-role>Manager</guard-role>
Note: See TracChangeset for help on using the changeset viewer.