## Script (Python) "getCPSCandidateLocalRoles" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters= ##title= ## # $Id: getCPSCandidateLocalRoles.py 867 2006-11-14 16:15:38Z 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 ['SectionReader','SectionManager','ClearanceOfficer']