Changeset 949 for WAeUP_SRP/trunk/exportimport.py
- Timestamp:
- 27 Nov 2006, 14:41:56 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/exportimport.py
r940 r949 76 76 campus = getattr(site.portal_url.getPortalObject(),'campus',None) 77 77 if campus is not None: 78 campus.academics.manage_setLocalGroupRoles(groupid='Authenticated', 78 academics = getattr(campus,'academics',None) 79 students = getattr(campus,'students',None) 80 if academics is not None: 81 academics.manage_setLocalGroupRoles(groupid='Authenticated', 79 82 roles=('SectionReader',)) 80 pm.setLocalGroupRoles(campus.students,['group:ClearanceOfficers', 83 if students is not None: 84 pm.setLocalGroupRoles(campus.students,['group:ClearanceOfficers', 81 85 'role:Student',],'SectionReader') 82 86 ## pm.setLocalGroupRoles(campus.academics,['role:Authenticated',
Note: See TracChangeset for help on using the changeset viewer.