Changeset 87 for waeup_product/trunk/skins
- Timestamp:
- 26 Oct 2005, 06:35:43 (19 years ago)
- Location:
- waeup_product/trunk/skins/waeup_default
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_default/getWAeUPTypes.py
r84 r87 17 17 'product': 'WAeUP', 18 18 'factory': 'addUniversity', 19 'immediate_view': ' folder_view',19 'immediate_view': 'university_view', 20 20 'global_allow': 1, 21 21 'filter_content_types': 1, … … 29 29 'layout_clusters': ['metadata:metadata'], 30 30 'cps_section_wf': 'waeup_section_wf', 31 'actions _add': ({'id': 'view',31 'actions': ({'id': 'view', 32 32 'name': 'action_view', 33 33 'action': 'university_view', 34 'permissions': ( UniversityManage,)},34 'permissions': (View,)}, 35 35 {'id': 'addFaculty', 36 36 'name': 'Add a Faculty', 37 37 'action': 'folder_factories', 38 'permissions': ( UniversityManage,)},38 'permissions': (ModifyPortalContent,UniversityManage,)}, 39 39 {'id': 'contents', 40 40 'name': 'action_folder_contents', 41 41 'action': 'folder_contents', 42 'permissions': ( UniversityManage,)},42 'permissions': (ModifyPortalContent,UniversityManage,)}, 43 43 {'id': 'edit', 44 44 'name': 'action_edit', 45 45 'action': 'cpsdocument_edit_form', 46 46 #'action': 'cpsdocument_edit_form', 47 'permissions': ( UniversityManage,)},47 'permissions': (ModifyPortalContent,UniversityManage,)}, 48 48 {'id': 'metadata', 49 49 'name': 'action_metadata', 50 50 'action': 'cpsdocument_metadata', 51 51 'condition': 'not:portal/portal_membership/isAnonymousUser', 52 'permissions': ( View,)},52 'permissions': (ModifyPortalContent,)}, 53 53 {'id': 'localroles', 54 54 'name': 'action_local_roles', … … 82 82 'name': 'Students', 83 83 'action': 'students_folder_view', 84 'permissions': ( UniversityManage,)},84 'permissions': (View,)}, 85 85 { 86 86 'id' : 'add_content', … … 92 92 'name' : 'Add Student JAMB', 93 93 'action' : 'string:${object/absolute_url}/create_jamb', 94 'permissions': (UniversityManage, )},95 {'id': 'contents',96 'name': 'action_folder_contents',97 'action': 'folder_contents',98 'permissions': (UniversityManage,)},99 {'id': 'edit',100 'name': 'action_edit',101 'action': 'cpsdocument_edit_form',102 'permissions': (UniversityManage,)},103 {'id': 'metadata',104 'name': 'action_metadata',105 'action': 'cpsdocument_metadata',106 'permissions': (UniversityManage,)},107 {'id': 'localroles',108 'name': 'action_local_roles',109 'action': 'folder_localrole_form',110 'permissions': (UniversityManage,)},94 'permissions': (UniversityManage,StudentManage)}, 95 ## {'id': 'contents', 96 ## 'name': 'action_folder_contents', 97 ## 'action': 'folder_contents', 98 ## 'permissions': (UniversityManage,)}, 99 ## {'id': 'edit', 100 ## 'name': 'action_edit', 101 ## 'action': 'cpsdocument_edit_form', 102 ## 'permissions': (UniversityManage,)}, 103 ## {'id': 'metadata', 104 ## 'name': 'action_metadata', 105 ## 'action': 'cpsdocument_metadata', 106 ## 'permissions': (UniversityManage,)}, 107 ## {'id': 'localroles', 108 ## 'name': 'action_local_roles', 109 ## 'action': 'folder_localrole_form', 110 ## 'permissions': (UniversityManage,)}, 111 111 ) 112 112 } -
waeup_product/trunk/skins/waeup_default/university_view.py
r84 r87 6 6 7 7 member = context.portal_membership.getAuthenticatedMember() 8 #return context.folder_view() 8 9 if member: 9 10 if 'Manager' in member.getRoles():
Note: See TracChangeset for help on using the changeset viewer.