Changeset 3299 for WAeUP_SRP/base
- Timestamp:
- 9 Mar 2008, 16:33:32 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/exportimport.py
r3277 r3299 79 79 students = getattr(campus,'students',None) 80 80 accommodation = getattr(campus,'accommodation',None) 81 upload = getattr(campus,'upload',None)81 uploads = getattr(campus,'uploads',None) 82 82 campus.manage_setLocalGroupRoles(groupid='CampusOfficers', 83 83 roles=('SectionOfficer',)) … … 105 105 accommodation.manage_setLocalGroupRoles(groupid='AccommodationOfficers', 106 106 roles=('SectionOfficer',)) 107 if upload is not None:108 upload .manage_setLocalGroupRoles(groupid='CampusOfficers',107 if uploads is not None: 108 uploads.manage_setLocalGroupRoles(groupid='UploadOfficers', 109 109 roles=('SectionOfficer',)) 110 110 members = getattr(site.portal_directories,'members') … … 136 136 importWAeUPTable(site.portal_catalog, '', context,'portal_catalog') 137 137 importWAeUPTable(site.portal_catalog_real, '', context,'portal_catalog_real') 138 138 139 139 site.students_catalog.manage_setLocalGroupRoles(groupid='CampusOfficers', 140 140 roles=('SectionOfficer',)) … … 142 142 roles=('SectionOfficer',)) 143 143 site.applicants_catalog.manage_setLocalGroupRoles(groupid='CampusOfficers', 144 roles=('SectionOfficer',)) 144 roles=('SectionOfficer',)) 145 145 site.course_results.manage_setLocalGroupRoles(groupid='CampusOfficers', 146 roles=('SectionOfficer',)) 146 roles=('SectionOfficer',)) 147 147 148 148 site.portal_catalog.id = 'portal_catalog'
Note: See TracChangeset for help on using the changeset viewer.