app/soc/views/helper/access.py
changeset 1577 b0bb5c8b5f78
parent 1559 283046e54c01
child 1606 6f7e5a566d9a
--- a/app/soc/views/helper/access.py	Sun Mar 01 15:10:43 2009 +0000
+++ b/app/soc/views/helper/access.py	Sun Mar 01 15:13:28 2009 +0000
@@ -743,7 +743,7 @@
   def checkHasDocumentAccess(self, django_args, logic, target_scope):
     """Checks that the user has access to the specified document scope.
     """
-
+    
     prefix = django_args['prefix']
     if self.SCOPE_DEPTH.get(prefix):
       scope_logic, depths = self.SCOPE_DEPTH[prefix]
@@ -1399,6 +1399,7 @@
       raise out_of_band.AccessViolation(message_fmt=DEF_PREFIX_NOT_IN_ARGS_MSG)
 
     prefix = get_args['prefix']
+    django_args['prefix'] = prefix
 
     checker = rights_logic.Checker(prefix)
     memberships = checker.getMemberships()