[opw-web] Allow people to apply as mentors after the selection announcement



commit c11914473b34cdec866698aa70cc4a5153e2a4bc
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Sun Apr 20 00:29:10 2014 -0400

    Allow people to apply as mentors after the selection announcement
    
    Some projects may be approved even though they don't have a listed
    mentor (perhaps the organization has someone in mind but they haven't
    signed up.) We need to allow them to sign up so they can upload their
    contract and later mark the student as passed.

 utils.php |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/utils.php b/utils.php
index b027736..1a059c5 100644
--- a/utils.php
+++ b/utils.php
@@ -160,7 +160,13 @@ class ProjectPermissions {
                 $can_apply_mentor = true;
             } else {
                 $can_apply_student = false;
-                $can_apply_mentor = false;
+
+                // In theory dl_mentor is when the program is announced, and no
+                // projects should have been approved without a mentor - in practice
+                // we might still need to sign up a mentor (or a replacement mentor)
+                // so they can upload contracts, etc.
+                //$can_apply_mentor = false;
+                $can_apply_mentor = true;
             }
         }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]