Changeset 955
- Timestamp:
- 28 Nov 2006, 10:20:34 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/exportimport.py
r950 r955 79 79 students = getattr(campus,'students',None) 80 80 if academics is not None: 81 academics.manage_setLocalGroupRoles(groupid=' Authenticated',81 academics.manage_setLocalGroupRoles(groupid='role:Authenticated', 82 82 roles=('SectionReader',)) 83 83 if students is not None: 84 pm.setLocalGroupRoles(campus.students,['group:ClearanceOfficers', 85 'role:Student',],'SectionReader') 84 students.manage_setLocalGroupRoles(groupid = ('group:ClearanceOfficers', 85 'role:Student',), 86 roles=('SectionReader',)) 87 members = getattr(site.portal_directories,'members') 88 if members is not None: 89 members.manage_setLocalGroupRoles(groupid='group:MemberAdmin', 90 roles=('SectionOfficer',)) 91 86 92 ## pm.setLocalGroupRoles(campus.academics,['role:Authenticated', 87 93 ## ],'SectionReader')
Note: See TracChangeset for help on using the changeset viewer.