app/soc/views/helper/access.py
changeset 1481 0ccf92d073e8
parent 1475 22b63ab59b27
child 1486 c417a4188e73
--- a/app/soc/views/helper/access.py	Tue Feb 24 18:58:22 2009 +0000
+++ b/app/soc/views/helper/access.py	Tue Feb 24 18:58:57 2009 +0000
@@ -1126,6 +1126,11 @@
   def checkIsMyEntity(self, django_args, logic,
                       field_name='user', user=False):
     """Checks whether the entity belongs to the user.
+
+    Args:
+      logic: the logic that should be used to fetch the entity
+      field_name: the name of the field the entity uses to store it's owner
+      user: whether the entity stores the user's key name, or a reference
     """
 
     self.checkIsUser(django_args)