## Script (Python) "getCPSCandidateLocalRoles" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters= ##title= ## # $Id: getCPSCandidateLocalRoles.py 28546 2005-10-23 01:46:45Z atchertchian $ """ 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']