Changeset 963 for WAeUP_SRP


Ignore:
Timestamp:
28 Nov 2006, 16:46:55 (18 years ago)
Author:
Henrik Bettermann
Message:

delegation of SectionReader? role in accommodation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/exportimport.py

    r962 r963  
    7878        academics = getattr(campus,'academics',None)
    7979        students = getattr(campus,'students',None)
     80        accommodation = getattr(campus,'accommodation',None)
    8081        if academics is not None:
    8182            academics.manage_setLocalGroupRoles(groupid='role:Authenticated',
     
    8687            students.manage_setLocalGroupRoles(groupid = 'role:Student',
    8788                                              roles=('SectionReader',))
     89        if accommodation is not None:
     90            accommodation.manage_setLocalGroupRoles(groupid='role:Student',
     91                                         roles=('SectionReader',))                                             
    8892    members = getattr(site.portal_directories,'members')
    8993    if members is not None:
Note: See TracChangeset for help on using the changeset viewer.