Changeset 1414 for WAeUP_SRP/trunk


Ignore:
Timestamp:
14 Feb 2007, 11:01:04 (18 years ago)
Author:
Henrik Bettermann
Message:

new groups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/exportimport.py

    r1221 r1414  
    7979        students = getattr(campus,'students',None)
    8080        accommodation = getattr(campus,'accommodation',None)
     81        campus.manage_setLocalGroupRoles(groupid='CampusOfficers',
     82                                         roles=('SectionOfficer',))       
    8183        if academics is not None:
    8284            academics.manage_setLocalGroupRoles(groupid='role:Authenticated',
    8385                                         roles=('SectionReader',))
     86            academics.manage_setLocalGroupRoles(groupid='AcademicsOfficers',
     87                                         roles=('SectionOfficer',))                                         
    8488        if students is not None:
    8589            students.manage_setLocalGroupRoles(groupid = 'ClearanceOfficers',
    8690                                              roles=('SectionReader',))
    8791            students.manage_setLocalGroupRoles(groupid='MemberAdmins',
     92                                         roles=('SectionOfficer',))
     93            students.manage_setLocalGroupRoles(groupid='StudentsOfficers',
    8894                                         roles=('SectionOfficer',))                                         
    8995            students.manage_setLocalGroupRoles(groupid = 'role:Student',
     
    9298            accommodation.manage_setLocalGroupRoles(groupid='role:Student',
    9399                                         roles=('SectionReader',))
     100            accommodation.manage_setLocalGroupRoles(groupid='AccommodationOfficers',
     101                                         roles=('SectionOfficer',))                                         
    94102    members = getattr(site.portal_directories,'members')
    95103    if members is not None:
Note: See TracChangeset for help on using the changeset viewer.