Changeset 113 for waeup_product/trunk/Extensions
- Timestamp:
- 28 Oct 2005, 10:17:39 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/Extensions/install.py
r106 r113 71 71 ########################################## 72 72 waeup_ptypes = "'University','StudentsFolder','Student','Jamb','Faculty','Department','Course'" 73 waeup_ptypes += ",'AccoFolder','Accommodation','StudentPersonal' "73 waeup_ptypes += ",'AccoFolder','Accommodation','StudentPersonal','Academics'" 74 74 if CPSSubscriptions: ###( 75 75 … … 151 151 }, 152 152 { 'tool' : 'portal_actions', 153 'id' : ' faculties',154 'name' : ' Faculties',155 'action' : 'string:${portal_url}/sections/waeup/ faculties',153 'id' : 'Academics', 154 'name' : 'Academics', 155 'action' : 'string:${portal_url}/sections/waeup/academics/academics_view', 156 156 'permission': (View ), 157 157 'category' : 'main_tabs', … … 290 290 291 291 se_chains = { 'University': 'waeup_section_wf', 292 'AcademicsFolder': 'waeup_section_wf', 292 293 'StudentsFolder': 'waeup_section_wf', 293 294 'Student': 'waeup_section_wf', … … 335 336 member_role='SectionReviewer', 336 337 ) 338 sections.waeup.content_create(type_name='AcademicsFolder',title='academics') 337 339 ## sections.waeup.folder_localrole_add(member_ids=('group:StudentManager',), 338 340 ## member_role='SectionManager', 339 341 ## ) 340 342 sections.waeup.students.manage_setLocalGroupRoles(groupid = 'Students',roles=('Contributor',)) 343 elif not hasattr(waeup,'academics'): 344 waeup.content_create(type_name='AcademicsFolder',title='academics') 341 345 sections.waeup.manage_setLocalGroupRoles(groupid = 'role:Anonymous',roles=('SectionReader',)) 342 346 # portlets ###(
Note: See TracChangeset for help on using the changeset viewer.