1515# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717#
18- # $Id: cgi_client.py,v 1.157 2002-08-13 20:16:09 gmcm Exp $
18+ # $Id: cgi_client.py,v 1.158 2002-08-15 00:40:10 richard Exp $
1919
2020__doc__ = """
2121WWW request handler (also used in the stand-alone server).
@@ -1113,7 +1113,9 @@ def newfile(self, message=None):
11131113
11141114 def showuser (self , message = None , num_re = re .compile ('^\d+$' )):
11151115 '''Display a user page for editing. Make sure the user is allowed
1116- to edit this node, and also check for password changes.
1116+ to edit this node, and also check for password changes.
1117+
1118+ Note: permission checks for this node are handled in the template.
11171119 '''
11181120 user = self .db .user
11191121
@@ -1123,11 +1125,6 @@ def showuser(self, message=None, num_re=re.compile('^\d+$')):
11231125 except IndexError :
11241126 raise NotFound , 'user%s' % self .nodeid
11251127
1126- # ok, so we need to be able to edit everything, or be this node's
1127- # user
1128- userid = self .db .user .lookup (self .user )
1129- # removed check on user's permissions - this needs to be done
1130- # through require tags in user.item
11311128 #
11321129 # perform any editing
11331130 #
@@ -1748,6 +1745,15 @@ def parsePropsFromForm(db, cl, form, nodeid=0, num_re=re.compile('^\d+$')):
17481745
17491746#
17501747# $Log: not supported by cvs2svn $
1748+ # Revision 1.157 2002/08/13 20:16:09 gmcm
1749+ # Use a real parser for templates.
1750+ # Rewrite htmltemplate to use the parser (hack, hack).
1751+ # Move the "do_XXX" methods to template_funcs.py.
1752+ # Redo the funcion tests (but not Template tests - they're hopeless).
1753+ # Simplified query form in cgi_client.
1754+ # Ability to delete msgs, files, queries.
1755+ # Ability to edit the metadata on files.
1756+ #
17511757# Revision 1.156 2002/08/01 15:06:06 gmcm
17521758# Use same regex to split search terms as used to index text.
17531759# Fix to back_metakit for not changing journaltag on reopen.
0 commit comments