[Zope3-Users] PsycopgDA problem
Håkan Johansson
ignem at raintervention.se
Tue Feb 28 05:29:14 EST 2006
From: ignem at raintervention.se
Subject: Re: [Zope3-Users] PsycopgDA problem (Solved)
Date: February 28, 2006 11:28:20 CET
To: ignem at raintervention.se
It was PsycopgDA that was missing some security settings in its
configure.zcml file.
I got it to work by adding the following rows to that file:
<content class=".adapter.PsycopgConnection">
<require
permission="zope.app.rdb.Use"
interface="zope.app.rdb.interfaces.IZopeConnection"
/>
</content>
<content class=".adapter.PsycopgCursor">
<require
permission="zope.app.rdb.Use"
interface="zope.app.rdb.interfaces.IZopeCursor"
/>
</content>
Since I am still a newbie to Zope3, I don't know if those settings are
the "best" choice. At least it works now.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1222 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope3-users/attachments/20060228/c290cfeb/attachment-0001.bin
More information about the Zope3-users
mailing list