diff bitsyblog/bitsyblog.py @ 25:62c961bb91e6

* allow changing of privacy on blog entries * bind blog variables in genshi
author k0s <k0scist@gmail.com>
date Sat, 31 Oct 2009 00:30:47 -0400
parents bf314b9a261a
children e37d117a9deb
line wrap: on
line diff
--- a/bitsyblog/bitsyblog.py	Sat Oct 31 00:22:26 2009 -0400
+++ b/bitsyblog/bitsyblog.py	Sat Oct 31 00:30:47 2009 -0400
@@ -260,11 +260,13 @@
         user, path = self.userpath(request)
 
         # check to make sure the user is authenticated
+        # and is the resource owner
         check = self.check_user(user, request)
         if check is not None:
             return check
 
         if len(path):
+
             if path == [ 'preferences' ]:
             
                 # make the data look like we want