## Script (Python) "isSectionOfficer" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters=student=None ##title= ## # $Id: isManager.py 888 2006-11-17 21:28:48Z henrik $ mtool = context.portal_membership roles = mtool.getAuthenticatedMember().getRolesInContext(context) return "SectionManager" in roles or\ "Manager" in roles or\ "SectionOfficer" in roles