## Script (Python) "getCPSCandidateLocalRoles" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters= ##title= ## # $Id: getCPSCandidateLocalRoles.py 525 2006-09-15 15:39:08Z joachim $ """ XXX content moved into portal_membership Override this template if you have new portal types or new roles with a specific mapping to register. """ from Products.CMFCore.utils import getToolByName mtool = getToolByName(context, 'portal_membership') #return mtool.getCPSCandidateLocalRoles(context) return ['Manager','SectionReader','SectionManager','Student','Staff']