app/soc/views/docs/show.py
changeset 242 17984abf0c74
parent 238 d6b533f99a45
child 270 7dd6d8347b56
--- a/app/soc/views/docs/show.py	Wed Oct 01 07:10:43 2008 +0000
+++ b/app/soc/views/docs/show.py	Wed Oct 01 07:11:27 2008 +0000
@@ -55,6 +55,13 @@
   # create default template context for use with any templates
   context = response_helpers.getUniversalContext(request)
 
+  # TODO: there eventually needs to be a call to some controller logic that
+  #   implements some sort of access controls, based on the currently
+  #   logged-in User's Roles, etc.
+
+  # TODO: based on the User's Roles, Documents that the User can edit
+  #   should display a link to a document edit form
+
   # try to fetch User entity corresponding to linkname if one exists    
   try:
     doc = document.getDocumentIfPath(partial_path, link_name=linkname)