Index: WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py
===================================================================
--- WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py	(revision 1859)
+++ WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py	(revision 1860)
@@ -1,3 +1,3 @@
-z## Script (Python) "clearance_edit"
+## Script (Python) "clearance_edit"
 ##bind container=container
 ##bind context=context
@@ -52,18 +52,22 @@
                   'ref_let',
                   'acc_let'
-                  )
+                 )
 form = request.form
 psm = ""
 args = {}
 action = "/external_clearance_edit_form"
+clearance_closed = False
+
 if context.isStudent():
     action = "/clearance_edit_form"
+    if info['clear_review_state'] == 'closed':
+        clearance_closed = True
 
-is_valid, ds = clear_doc.validate(request=REQUEST,
+if not clearance_closed:
+    is_valid, ds = clear_doc.validate(request=REQUEST,
                                 schema_id = 'student_clearance',
                                 layout_id = 'student_clearance',
                                 proxy=clear,
                                 use_session=True)
-
 if clear_and_validate_button and info['review_state'] == "clearance_requested":
     logger.info('%s cleared %s' % (member_id,student_id ))
@@ -84,4 +88,7 @@
     args['subject'] = subject
     args['continue'] = 'external_clearance_edit_form'
+elif clearance_closed:
+    action = "/clearance_view"
+    logger.info('%s tried to edit closed clearance of %s' % (member_id,student_id ))
 elif is_valid:
     if cpsdocument_edit_button or result_edit_button:
