app/soc/views/helper/access.py
changeset 2922 6e373954bbf6
parent 2918 d24b80677879
child 2936 75f9c945ed8a
--- a/app/soc/views/helper/access.py	Mon Sep 14 20:21:47 2009 +0200
+++ b/app/soc/views/helper/access.py	Tue Sep 15 20:54:40 2009 +0200
@@ -1159,13 +1159,18 @@
 
     raise out_of_band.AccessViolation(message_fmt=DEF_NO_APPLICATION_MSG)
 
-  def checkIsNotParticipatingInProgramInScope(self, django_args, program_logic):
+  def checkIsNotParticipatingInProgramInScope(self, django_args, program_logic,
+                                              student_logic, org_admin_logic,
+                                              mentor_logic):
     """Checks if the current user has no roles for the given 
        program in django_args.
 
     Args:
       django_args: a dictionary with django's arguments
       program_logic: Program Logic instance
+      student_logic: Student Logic instance
+      org_admin_logic: Org Admin Logic instance
+      mentor_logic: Mentor Logic instance
 
      Raises:
        AccessViolationResponse: if the current user has a student, mentor or