source: WAeUP_SRP/trunk/skins/waeup_custom/getCPSCandidateLocalRoles.py @ 861

Last change on this file since 861 was 861, checked in by joachim, 18 years ago

added role ClearanceManager?

  • Property svn:keywords set to Id
File size: 564 bytes
Line 
1## Script (Python) "getCPSCandidateLocalRoles"
2##bind container=container
3##bind context=context
4##bind namespace=
5##bind script=script
6##bind subpath=traverse_subpath
7##parameters=
8##title=
9##
10# $Id: getCPSCandidateLocalRoles.py 861 2006-11-13 22:07:08Z joachim $
11"""
12XXX content moved into portal_membership
13
14Override this template if you have new portal types or new roles with a
15specific mapping to register.
16"""
17from Products.CMFCore.utils import getToolByName
18mtool = getToolByName(context, 'portal_membership')
19#return mtool.getCPSCandidateLocalRoles(context)
20return ['SectionReader','SectionManager','ClearanceManager']
Note: See TracBrowser for help on using the repository browser.