app/soc/views/helper/access.py
changeset 802 95c534d02e39
parent 796 126a1ef235ec
child 814 25ffebd9fa8f
--- a/app/soc/views/helper/access.py	Sat Jan 10 18:17:44 2009 +0000
+++ b/app/soc/views/helper/access.py	Sat Jan 10 18:18:10 2009 +0000
@@ -321,6 +321,25 @@
 
   raise out_of_band.LoginRequest(message_fmt=login_message_fmt)
 
+def checkIsApplied(request):
+  """Returns an alternate HTTP response if Google Account has no Club App
+     entity for the specified Club.
+
+  Args:
+    request: a Django HTTP request
+
+   Raises:
+     AccessViolationResponse: if the required authorization is not met
+
+  Returns:
+    None if Club App  exists for the specified program, or a subclass
+    of django.http.HttpResponse which contains the alternate response
+    should be returned by the calling view.
+  """
+
+  #TODO(srabbelier): implement this
+  pass
+
 def checkIsMyNotification(request):
   """Returns an alternate HTTP response if this request is for a Notification belonging
      to the current user.