Rev | Line | |
---|
[319] | 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 28546 2005-10-23 01:46:45Z atchertchian $ |
---|
| 11 | """ |
---|
| 12 | XXX content moved into portal_membership |
---|
| 13 | |
---|
| 14 | Override this template if you have new portal types or new roles with a |
---|
| 15 | specific mapping to register. |
---|
| 16 | """ |
---|
| 17 | from Products.CMFCore.utils import getToolByName |
---|
| 18 | mtool = getToolByName(context, 'portal_membership') |
---|
[350] | 19 | #return mtool.getCPSCandidateLocalRoles(context) |
---|
[361] | 20 | return ['Manager','SectionReader','SectionManager'] |
---|
Note: See
TracBrowser for help on using the repository browser.