Changeset 5591


Ignore:
Timestamp:
16 Nov 2010, 07:29:35 (14 years ago)
Author:
Henrik Bettermann
Message:

Add AccessCodeOfficers? group.

Location:
WAeUP_SRP/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/exportimport.py

    r4302 r5591  
    8080        accommodation = getattr(campus,'accommodation',None)
    8181        uploads = getattr(campus,'uploads',None)
     82        pins = getattr(campus,'pins',None)
    8283        campus.manage_setLocalGroupRoles(groupid='CampusOfficers',
    8384                                         roles=('SectionOfficer',))
     
    108109            uploads.manage_setLocalGroupRoles(groupid='UploadOfficers',
    109110                                         roles=('SectionOfficer',))
     111        if pins is not None:
     112            uploads.manage_setLocalGroupRoles(groupid='AccessCodeOfficers',
     113                                         roles=('SectionOfficer',))                                         
    110114    members = getattr(site.portal_directories,'members')
    111115    if members is not None:
Note: See TracChangeset for help on using the changeset viewer.