Changeset 1414
- Timestamp:
- 14 Feb 2007, 11:01:04 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/exportimport.py
r1221 r1414 79 79 students = getattr(campus,'students',None) 80 80 accommodation = getattr(campus,'accommodation',None) 81 campus.manage_setLocalGroupRoles(groupid='CampusOfficers', 82 roles=('SectionOfficer',)) 81 83 if academics is not None: 82 84 academics.manage_setLocalGroupRoles(groupid='role:Authenticated', 83 85 roles=('SectionReader',)) 86 academics.manage_setLocalGroupRoles(groupid='AcademicsOfficers', 87 roles=('SectionOfficer',)) 84 88 if students is not None: 85 89 students.manage_setLocalGroupRoles(groupid = 'ClearanceOfficers', 86 90 roles=('SectionReader',)) 87 91 students.manage_setLocalGroupRoles(groupid='MemberAdmins', 92 roles=('SectionOfficer',)) 93 students.manage_setLocalGroupRoles(groupid='StudentsOfficers', 88 94 roles=('SectionOfficer',)) 89 95 students.manage_setLocalGroupRoles(groupid = 'role:Student', … … 92 98 accommodation.manage_setLocalGroupRoles(groupid='role:Student', 93 99 roles=('SectionReader',)) 100 accommodation.manage_setLocalGroupRoles(groupid='AccommodationOfficers', 101 roles=('SectionOfficer',)) 94 102 members = getattr(site.portal_directories,'members') 95 103 if members is not None:
Note: See TracChangeset for help on using the changeset viewer.