app/soc/views/helper/access.py
changeset 1037 f706ac5beccf
parent 1023 d849b47645f9
child 1043 5e15994b2033
--- a/app/soc/views/helper/access.py	Wed Jan 28 15:22:34 2009 +0000
+++ b/app/soc/views/helper/access.py	Wed Jan 28 15:24:02 2009 +0000
@@ -120,7 +120,6 @@
     self.rights = base.rights if base else {}
     self.id = None
     self.user = None
-    self.cached_rights = {}
 
   def __setitem__(self, key, value):
     """Sets a value only if no old value exists.
@@ -217,7 +216,6 @@
 
     self.id = id
     self.user = user
-    self.cached_rights = {}
 
   def checkAccess(self, access_type, django_args):
     """Runs all the defined checks for the specified type.
@@ -448,8 +446,8 @@
 
     return
 
+  @allowDeveloper
   @denySidebar
-  @allowDeveloper
   def checkIsHost(self, django_args):
     """Raises an alternate HTTP response if Google Account has no Host entity.