Index: /WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_form.pt
===================================================================
--- /WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_form.pt	(revision 888)
+++ /WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_form.pt	(revision 889)
@@ -4,8 +4,9 @@
            isStaff context/isStaff;
            isClearanceOfficer context/isClearanceOfficer;
-           isOwner context/isStudent;
+           isStudent context/isStudent;
            review_state info/review_state;
-           edition python: (isOwner and review_state == 'clearance_pin_entered' or isManager) and not isClearanceOfficer;
-           mode python: test(edition,'edit','view');
+           clear_review_state info/clear_review_state;
+           editable python: (isStudent and clear_review_state == 'open' or isManager) and not isClearanceOfficer;
+           mode python: test(editable,'edit','view');
            rendered_main python:info['clear_doc'].render(request=request,
                                                layout_mode = mode,
Index: /WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_lib.pt
===================================================================
--- /WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_lib.pt	(revision 888)
+++ /WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_lib.pt	(revision 889)
@@ -4,5 +4,5 @@
 <metal:block define-macro="header">
   <!--  Administration -->
-  <tal:block condition="python: not(isStaff or isManager or isOwner)">
+  <tal:block condition="python: not(isStaff or isManager or isStudent)">
     <metal:block use-macro="here/error_not_found/macros/not_found" />
   </tal:block>
@@ -22,5 +22,5 @@
   </tal:block>
   <!--  Student -->
-  <tal:block condition="python: isOwner">
+  <tal:block condition="python: isStudent">
     <a href=""
        tal:attributes="href string:${here/academicsParent}">
