[Zope] UserDb

Ross J. Reedstrom reedstrm@wallace.ece.rice.edu
Sun, 16 May 1999 11:28:19 -0500 (CDT)


Well, I won't guarantee that I've tested all the functionality, but this
seems to get the UserDb product installed, and lets me validate against the
users defined in my backend Db, as well as add, delete and edit users:
(This is a patch to UserDb.py to make it work under Zope 10.11.0.pr1)
Patch:


--- UserDb.py~  Wed Dec  2 11:03:40 1998
+++ UserDb.py   Fri May 14 18:02:22 1999
@@ -343,7 +343,7 @@
         return MessageDialog(
                title  ='Item Exists',
                message='This object already contains a User Folder',
-               action ='%s/manage_main' % REQUEST['PARENT_URL'])
+               action ='%s/manage_main' % REQUEST['URL1'])
     ob=UserDb(connection_id, cookie_mode)
     self._setObject('acl_users', ob)
     self.__allow_groups__=self.acl_users

> 
> Ugh.  Yes PARENT_URL is obsolete.  Someone should fix this.
> 
> Volunteers?
> 
> -Michel
-- 
Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu> 
NSBRI Research Scientist/Programmer
Computer and Information Technology Institute
Rice University, 6100 S. Main St.,  Houston, TX 77005