[Zope-DB] Updating Database Records

Asad Habib ahabib1357@yahoo.com
Fri, 7 Mar 2003 09:52:39 -0800 (PST)


Hello. Does anyone know whether a Z SQL method has the
permission to make modifications to already existing
data by using the SQL update command. I am calling a Z
SQL method that attempts to do this from a DTML method
that has a proxy role of 'manager'. However, when this
Z SQL method is called, Zope flags me with an error
saying that I am "Unauthorized". Now, when I call
another Z SQL method from this same DTML method that
inserts records into the same database, everything
works fine. Is there some restriction against
modifying database records in Zope? Any help would be
greatly appreciated. Thanks.

-Asad

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/