Changeset 2180 for WAeUP_SRP/trunk/skins/waeup_utilities/changeState.py
- Timestamp:
- 5 Sep 2007, 14:22:09 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_utilities/changeState.py
r2179 r2180 13 13 """ 14 14 15 if not transition 15 mtool = context.portal_membership 16 member = mtool.getAuthenticatedMember() 17 if str(member) not in ('admin','joachim') or transition is None: 16 18 return 17 19 18 20 import logging 19 21 logger = logging.getLogger('Skins.changeState') 20 import DateTime21 22 22 23 pm = context.portal_membership … … 33 34 34 35 wftool.doActionFor(student,transition) 35 #wftool.doActionFor(student,'clear_and_validate')36 36 logger.info('%s executes transition %s for %s' % (member,transition,student_id)) 37 37 38 return request.RESPONSE.redirect("%s /waeup_document_view" % context.absolute_url())38 return request.RESPONSE.redirect("%s" % context.absolute_url())
Note: See TracChangeset for help on using the changeset viewer.