Added missing return to manage access check.
authorLennard de Rijk <ljvderijk@gmail.com>
Mon, 30 Mar 2009 19:46:41 +0000
changeset 2032 b881417db09e
parent 2031 f018461e0f8a
child 2033 26174bfb0a44
Added missing return to manage access check. Addresses Issue 471. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
app/soc/views/helper/access.py
--- a/app/soc/views/helper/access.py	Mon Mar 30 19:41:05 2009 +0000
+++ b/app/soc/views/helper/access.py	Mon Mar 30 19:46:41 2009 +0000
@@ -1414,6 +1414,7 @@
     try:
       # check if it is my role the user's own role
       self.checkHasActiveRoleForScope(django_args, role_logic)
+      return
     except out_of_band.Error:
       pass