app/soc/views/models/request.py
changeset 940 a40056afef83
parent 929 7431d7770197
child 944 5ea2bd9e3fa6
--- a/app/soc/views/models/request.py	Fri Jan 23 22:57:10 2009 +0000
+++ b/app/soc/views/models/request.py	Fri Jan 23 23:42:07 2009 +0000
@@ -68,7 +68,7 @@
     rights['listSelf'] = [access.checkAgreesToSiteToS]
     rights['create'] = [access.allow] # TODO(ljvderijk) Set to deny once host has been converted
     rights['edit'] = [access.checkIsDeveloper]
-    rights['process_invite'] = [access.checkIsMyUncompletedRequest]
+    rights['process_invite'] = [access.checkIsMyGroupAcceptedRequest]
     rights['list'] = [access.checkIsDeveloper]
     rights['delete'] = [access.checkIsDeveloper]
 
@@ -150,7 +150,7 @@
     context['entity'] = request_entity
     context['module_name'] = params['module_name']
     context['invite_accepted_redirect'] = (
-        redirects.getInviteAcceptedRedirect(entity, self._params))
+        redirects.getInviteAcceptedRedirect(request_entity, self._params))
 
     #display the invite processing page using the appropriate template
     template = params['invite_processing_template']