app/soc/views/helper/access.py
changeset 1315 7c58f5cdd5b8
parent 1309 ba51a0cd311d
child 1318 3f41f33a4ad2
--- a/app/soc/views/helper/access.py	Sat Feb 14 15:56:22 2009 +0000
+++ b/app/soc/views/helper/access.py	Sat Feb 14 15:56:46 2009 +0000
@@ -355,6 +355,13 @@
       roles: a list of roles to check
     """
 
+    try:
+      # we need to check manually, as we must return True!
+      self.checkIsDeveloper(django_args)
+      return True
+    except out_of_band.Error:
+      pass
+
     for role in roles:
       try:
         checker_name, args = self.normalizeChecker(self.MEMBERSHIP[role])