# HG changeset patch # User Lennard de Rijk # Date 1244132464 -7200 # Node ID f230254557428e008e481e8da20d9507eddc18bb # Parent b5c74f077f0a849f80e0756e10024b6e66b8572d Clarified docstring for document read/write access check. diff -r b5c74f077f0a -r f23025455742 app/soc/views/helper/access.py --- a/app/soc/views/helper/access.py Thu Jun 04 08:12:57 2009 +0200 +++ b/app/soc/views/helper/access.py Thu Jun 04 18:21:04 2009 +0200 @@ -1512,7 +1512,7 @@ @allowSidebar @allowDeveloper def checkIsDocumentReadable(self, django_args, key_name_field=None): - """Checks whether a document is readable. + """Checks whether a document is readable by the current user. Args: django_args: a dictionary with django's arguments @@ -1531,7 +1531,7 @@ @denySidebar @allowDeveloper def checkIsDocumentWritable(self, django_args, key_name_field=None): - """Checks whether a document is writable. + """Checks whether a document is writable by the current user. Args: django_args: a dictionary with django's arguments