[Zope3-checkins] CVS: Products3/zwiki - configure.zcml:1.22

Stephan Richter srichter@cosmos.phy.tufts.edu
Sat, 5 Jul 2003 16:50:55 -0400


Update of /cvs-repository/Products3/zwiki
In directory cvs.zope.org:/tmp/cvs-serv14846/src/zopeproducts/zwiki

Modified Files:
	configure.zcml 
Log Message:
A regular WikiUser could not view the WikiPage... I have no clue whether
this fix is safe (most likely not). I'll have to think about a better 
solution.


=== Products3/zwiki/configure.zcml 1.21 => 1.22 ===
--- Products3/zwiki/configure.zcml:1.21	Thu Jun  5 09:34:24 2003
+++ Products3/zwiki/configure.zcml	Sat Jul  5 16:50:49 2003
@@ -144,9 +144,12 @@
         title="Wiki Page"
         description="A Wiki Page" />
 
+    <!-- XXX: I am not sure whether this is safe. We probably have to split
+         the interface from the schema. -->
+    <allow interface=".interfaces.IWikiPage" />
+
     <require
         permission="zopeproducts.zwiki.AddWikiPage"
-        interface=".interfaces.IWikiPage"
         set_schema=".interfaces.IWikiPage" />
 
   </content>