[Zope] Zope 2.2 getUserById error
Andy McKay
andym@ActiveState.com
Fri, 29 Sep 2000 11:48:22 -0700
getUserByID seems to have been added in Zope 2.2, I added in a method
def getUserById(self, id, default=''):
"""Return the user corresponding to the given id.
"""
try: return self.getUser(id)
except: raise 'LoginRequired', loginScreen
into GUF and it works fine, but Im not sure if this is 100% secure!
----- Original Message -----
From: "Stuart Foster" <stuartafoster@home.com>
To: "Zope List" <zope@zope.org>
Sent: Friday, September 29, 2000 7:49 AM
Subject: [Zope] Zope 2.2 getUserById error
> We are using a generic user folder to authenticate against a SQL table
that
> stores username and password. This worked fine until we updated to 2.2.
Now
> we get an error about getUserByID in Owned.py.
>
> Does anyone know what night be causing this?
>
>
> Thanks
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>