app/soc/views/helper/access.py
changeset 999 71f15c023847
parent 996 a6f67d4c297f
child 1007 3b66772d21a5
--- a/app/soc/views/helper/access.py	Mon Jan 26 09:44:00 2009 +0000
+++ b/app/soc/views/helper/access.py	Mon Jan 26 14:51:07 2009 +0000
@@ -359,7 +359,7 @@
   """
 
   try:
-    # if the current user is invited to create a host profile we allow access
+    # if the current user is a developer we allow access
     checkIsDeveloper(kwargs)
     return
   except out_of_band.Error:
@@ -398,6 +398,13 @@
     * if the user is not even logged in
   """
 
+  try:
+    # if the current user is a developer we allow access
+    checkIsDeveloper(kwargs)
+    return
+  except out_of_band.Error:
+    pass
+
   checkAgreesToSiteToS(kwargs)
 
   user = user_logic.getForCurrentAccount()