Ignore:
Timestamp:
22 Nov 2006, 16:54:23 (18 years ago)
Author:
joachim
Message:

removed username from member_search mask, because there is no easy way to
not search for student-members. In my opinion search for firstname, lastname
and email is sufficient.
The local-role SectionReader? is set for Authenticated in exportimport.py,
but now the import takes 3 times as long. I think we have to remove this
setting from exportimport.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_custom/getCPSCandidateLocalRoles.py

    r919 r924  
    2020
    2121
    22 #return mtool.getCPSCandidateLocalRoles(context)
     22allowed_roles = mtool.getCPSCandidateLocalRoles(context)
    2323
    2424
    25 if member.id == 'admin'
    26   return ['SectionReader','SectionManager','ClearanceOfficer', 'SectionOfficer']
     25if member.id in ("admin","perry"):
     26    return ['SectionReader','SectionManager','ClearanceOfficer', 'SectionOfficer']
    2727return ['ClearanceOfficer', 'SectionOfficer']
Note: See TracChangeset for help on using the changeset viewer.