app/soc/views/helper/access.py
changeset 2380 f23025455742
parent 2361 40b0c25a5793
child 2433 0ba41e115dbc
--- 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