Added denySidebar to several access checks.
--- a/app/soc/views/helper/access.py Thu Jul 09 23:50:21 2009 +0200
+++ b/app/soc/views/helper/access.py Fri Jul 10 11:39:41 2009 +0200
@@ -1727,6 +1727,7 @@
self.checkMembership('write', document.prefix,
document.write_access, django_args)
+ @denySidebar
@allowDeveloper
def checkDocumentList(self, django_args):
"""Checks whether the user is allowed to list documents.
@@ -1744,6 +1745,7 @@
if not self.hasMembership(roles, filter):
raise out_of_band.AccessViolation(message_fmt=DEF_NO_LIST_ACCESS_MSG)
+ @denySidebar
@allowDeveloper
def checkDocumentPick(self, django_args):
"""Checks whether the user has access to the specified pick url.