[Zope] Zope 2.2.0a1 permission problems

Cary O'Brien cobrien@Radix.Net
Tue, 16 May 2000 12:06:29 -0400 (EDT)


I just installed release 2.2.0a1 on a glibc Linux box, but I keep
getting a permission problem when accessing a database query.

To be more specific...

1) Get zope 2.2.0a1
2) Unpack and install
3) Start - runs fine
4) Get ZPyGreSQL product
5) Unpack, build, install.  No problems
5.1) create user in top level acl_users with manager role.
5.2) shutdown netscape, restart with new user login
6) Restart zope
7) Create a database connection to a local database
8) Try the test tab - works fine.
9) Using test, create a dummy table and insert 3 rows.
10) Test "select * from employees", works fine.
11) Create a zsql method to do the query, test it, works fine.
12) Create a Z search interface to run the query
13) access search interface -- works fine
14) submit - get unauthorized.  The last line of the traceback is

  File /usr2/local/zope/Zope-2.2.0a1-src/lib/python/DocumentTemplate/DT_In.py, line 602, in renderwb
      (Object: all_employees)
  Unauthorized: 0

all_employees being my zsql method.

And I thought I understood this stuff!

Any ideas?

-- cary