[Zope] Re: Re:[Zope] ZFormulator

Andy McKay andym@ActiveState.com
Thu, 26 Oct 2000 09:39:33 -0700


There was a problem with the ODBC adapter under 2.2.0 where the permissions
werent applied properly. There was a patch that was then incorporated into
later releases 2.2.1 onwards.

----- Old Message ----

In case anyone else didnt read my thread there is an apparently known but
not seemingly well documented problem with ODBC in Zope 2.2. The solution is
here:

<!--StartFragment-->Index: RDB.py
===================================================================
RCS file: /cvs-repository/Zope2/lib/python/Shared/DC/ZRDB/RDB.py,v
retrieving revision 1.24.32.1
retrieving revision 1.24.32.2
diff -c -r1.24.32.1 -r1.24.32.2
*** RDB.py 2000/07/12 17:38:03 1.24.32.1
--- RDB.py 2000/07/17 15:03:55 1.24.32.2
***************
*** 85,92 ****
  __doc__='''Class for reading RDB files


! $Id: RDB.py,v 1.24.32.1 2000/07/12 17:38:03 brian Exp $'''
! __version__='$Revision: 1.24.32.1 $'[11:-2]

  import regex, regsub
  from string import split, strip, lower, upper, atof, atoi, atol, find,
join
--- 85,92 ----
  __doc__='''Class for reading RDB files


! $Id: RDB.py,v 1.24.32.2 2000/07/17 15:03:55 brian Exp $'''
! __version__='$Revision: 1.24.32.2 $'[11:-2]

  import regex, regsub
  from string import split, strip, lower, upper, atof, atoi, atol, find,
join
***************
*** 123,128 ****
--- 123,132 ----
      """Class for reading RDB files
      """
      _index=None
+
+     # We need to allow access to not-explicitly-protected
+     # individual record objects contained in the result.
+     __allow_access_to_unprotected_subobjects__=1

      def __init__(self,file,brains=NoBrains, parent=None, zbrains=None):


--
     Andy McKay, Developer, ActiveState
     http://www.ActiveState.com
     Programming for the People



_______________________________________________
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 )


----- Original Message -----
From: <administrator@consotec.de>
To: <zope@zope.org>
Sent: Wednesday, October 25, 2000 11:50 PM
Subject: Re:[Zope] ZFormulator


Hi,
we have had a similar problem with ODBC adapter under
Zope 2.2.0 and we couldn't fix it. But under 2.2.2 we
didn't have that problem again.
  Arno
  arno.gross@consotec.de


> Hi Martijn, and Zope Fans,
>
> I'm using ZFormulator and having problems with permissions
> on Zope v.2. The sign-on dialog pops-up when a user
> attempts to edit a form, but the correct name and password
> are rejected. Has anyone found a little detail that needs
> tweking to get past this one?
>
>