app/soc/models/work.py
changeset 242 17984abf0c74
parent 220 3ebe00b44212
child 329 2d90d49ce78a
--- a/app/soc/models/work.py	Wed Oct 01 07:10:43 2008 +0000
+++ b/app/soc/models/work.py	Wed Oct 01 07:11:27 2008 +0000
@@ -87,3 +87,14 @@
   
   #: date when the work was last modified
   modified = db.DateTimeProperty(auto_now=True)
+
+  # TODO: some sort of access control preferences are needed at this basic
+  #   level.  Works need to be restrict-able to:
+  #    * the authors only
+  #    * the administrators of the Groups that the authors are in
+  #    * any member of the authors' Groups
+  #    * logged-in User with a profile
+  #    * logged-in Users, but no profile is necessary
+  #    * anyone, even those not logged in
+  #  (and possibly others)
+