Mercurial > p > roundup > code
diff test/test_db.py @ 905:502a5ae11cc5
Very close now. The cgi and mailgw now use the new security API.
The two templates have been migrated to that setup. Lots of unit
tests. Still some issue in the web form for editing Roles assigned to
users.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 26 Jul 2002 08:27:00 +0000 |
| parents | b0d3d3535998 |
| children | 51519406b73e |
line wrap: on
line diff
--- a/test/test_db.py Thu Jul 25 07:53:44 2002 +0000 +++ b/test/test_db.py Fri Jul 26 08:27:00 2002 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: test_db.py,v 1.37 2002-07-25 07:14:06 richard Exp $ +# $Id: test_db.py,v 1.38 2002-07-26 08:27:00 richard Exp $ import unittest, os, shutil, time @@ -28,7 +28,7 @@ status = module.Class(db, "status", name=String()) status.setkey("name") user = module.Class(db, "user", username=String(), password=Password(), - assignable=Boolean(), age=Number(), roles=Multilink('role')) + assignable=Boolean(), age=Number(), roles=String()) user.setkey("username") file = module.FileClass(db, "file", name=String(), type=String(), comment=String(indexme="yes")) @@ -603,6 +603,14 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.37 2002/07/25 07:14:06 richard +# Bugger it. Here's the current shape of the new security implementation. +# Still to do: +# . call the security funcs from cgi and mailgw +# . change shipped templates to include correct initialisation and remove +# the old config vars +# ... that seems like a lot. The bulk of the work has been done though. Honest :) +# # Revision 1.36 2002/07/19 03:36:34 richard # Implemented the destroy() method needed by the session database (and possibly # others). At the same time, I removed the leading underscores from the hyperdb
