Changeset 919 for WAeUP_SRP/trunk/skins/waeup_custom
- Timestamp:
- 21 Nov 2006, 21:05:33 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_custom/getCPSCandidateLocalRoles.py
r867 r919 17 17 from Products.CMFCore.utils import getToolByName 18 18 mtool = getToolByName(context, 'portal_membership') 19 member = mtool.getAuthenticatedMember() 20 21 19 22 #return mtool.getCPSCandidateLocalRoles(context) 20 return ['SectionReader','SectionManager','ClearanceOfficer'] 23 24 25 if member.id == 'admin' 26 return ['SectionReader','SectionManager','ClearanceOfficer', 'SectionOfficer'] 27 return ['ClearanceOfficer', 'SectionOfficer']
Note: See TracChangeset for help on using the changeset viewer.