Changeset 3824 for WAeUP_SRP/trunk/skins/cps_custom
- Timestamp:
- 19 Dec 2008, 15:44:45 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/cps_custom/cpsdocument_create.py
r3157 r3824 25 25 from Products.CPSDocument.utils import getFormUidUrlArg 26 26 27 request = REQUEST 28 29 try: 30 from Products.zdb import set_trace 31 except: 32 def set_trace(): 33 pass 34 27 35 ti = getToolByName(context, 'portal_types').getTypeInfo(type_name) 28 36 29 37 while True: 30 38 if not context.isSectionOfficer(): 31 psm = "illegal access"32 break 39 return request.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url()) 40 33 41 is_valid, ds = ti.validateObject(None, layout_mode='create', 34 42 request=REQUEST, context=context,
Note: See TracChangeset for help on using the changeset viewer.