fix the permissions for delete and publish comments. make the publish-comment button work.

svn path=/plone.app.discussion/trunk/; revision=27469
This commit is contained in:
Timo Stollenwerk 2009-06-16 13:10:58 +00:00
parent f8b317ac7a
commit 28fbad44a7

View File

@ -23,7 +23,7 @@
name="moderate-delete-comment"
layer="..interfaces.IDiscussionLayer"
class=".comments.DeleteComment"
permission="cmf.ManagePortal"
permission="plone.app.discussion.ReviewComments"
/>
<!-- Publish comment view -->
@ -32,7 +32,7 @@
name="moderate-publish-comment"
layer="..interfaces.IDiscussionLayer"
class=".comments.PublishComment"
permission="cmf.ManagePortal"
permission="plone.app.discussion.ReviewComments"
/>
<!-- Comments viewlet -->