Clarified docstring for document read/write access check.
authorLennard de Rijk <ljvderijk@gmail.com>
Thu, 04 Jun 2009 18:21:04 +0200
changeset 2380 f23025455742
parent 2378 b5c74f077f0a
child 2382 3a6302dd346b
Clarified docstring for document read/write access check.
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