Changeset 6684 for main


Ignore:
Timestamp:
5 Sep 2011, 13:48:07 (13 years ago)
Author:
Henrik Bettermann
Message:

account.roles must be a list of strings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/container.py

    r6681 r6684  
    5858        # Assign global student role for new student
    5959        account = IUserAccount(student)
    60         account.roles = 'waeup.Student'
     60        account.roles = ['waeup.Student']
    6161        # Assign local StudentRecordOwner role
    6262        role_manager = IPrincipalRoleManager(self[student.student_id])
Note: See TracChangeset for help on using the changeset viewer.