[Zope3-checkins] SVN: Zope3/trunk/src/zwiki/browser/configure.zcml
Added browser:containerViews directive for IWikiPage (needed
for adding comments) and adjusted permissions for adding comments
Helmut Merz
helmutm at cy55.de
Sat Nov 5 06:41:08 EST 2005
Log message for revision 39905:
Added browser:containerViews directive for IWikiPage (needed for adding comments) and adjusted permissions for adding comments
Changed:
U Zope3/trunk/src/zwiki/browser/configure.zcml
-=-
Modified: Zope3/trunk/src/zwiki/browser/configure.zcml
===================================================================
--- Zope3/trunk/src/zwiki/browser/configure.zcml 2005-11-05 11:22:49 UTC (rev 39904)
+++ Zope3/trunk/src/zwiki/browser/configure.zcml 2005-11-05 11:41:07 UTC (rev 39905)
@@ -63,6 +63,11 @@
<!-- WikiPage browser configuration -->
+ <browser:containerViews
+ for="zwiki.interfaces.IWikiPage"
+ add="zwiki.CommentWikiPage"
+ />
+
<browser:addform
label="Add Wiki Page"
name="AddWikiPage.html"
@@ -142,7 +147,7 @@
name="AddComment.html"
schema="zwiki.interfaces.IComment"
content_factory="zwiki.comment.Comment"
- permission="zwiki.AddWikiPage"
+ permission="zwiki.CommentWikiPage"
fields="title source type"
class=".wikipage.AddComment" />
@@ -150,7 +155,7 @@
class="zwiki.comment.Comment"
title="Comment"
description="A Comment"
- permission="zwiki.AddWikiPage"
+ permission="zwiki.CommentWikiPage"
view="AddComment.html" />
<!-- Make a special WikiPage menu -->
More information about the Zope3-Checkins
mailing list