[Zope-CVS] SVN: psycopgda/trunk/configure.zcml Fixed interface
references and security declarations sent in by Ulrich
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Sep 23 14:11:12 EDT 2004
Log message for revision 27667:
Fixed interface references and security declarations sent in by Ulrich
Schreiner.
Changed:
U psycopgda/trunk/configure.zcml
-=-
Modified: psycopgda/trunk/configure.zcml
===================================================================
--- psycopgda/trunk/configure.zcml 2004-09-23 18:09:59 UTC (rev 27666)
+++ psycopgda/trunk/configure.zcml 2004-09-23 18:11:11 UTC (rev 27667)
@@ -6,14 +6,18 @@
<content class=".adapter.PsycopgAdapter">
<factory id="zope.da.PsycopgDA" />
<require
- permission="zope.Public"
+ permission="zope.app.rdb.Use"
interface="zope.app.rdb.interfaces.IZopeDatabaseAdapter"
/>
+ <require
+ permission="zope.ManageServices"
+ interface="zope.app.rdb.interfaces.IZopeDatabaseAdapterManagement"
+ />
</content>
-
+
<browser:addform
name="AddPsycopgDA"
- schema="zope.app.rdb.interfaces.IZopeDatabaseAdapterManagement"
+ schema="zope.app.rdb.interfaces.IManageableZopeDatabaseAdapter"
label="Add Psycopg (PostGreSQL) Database Adapter"
content_factory=".adapter.PsycopgAdapter"
arguments="dsn"
More information about the Zope-CVS
mailing list