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:
parent
f8b317ac7a
commit
28fbad44a7
@ -23,7 +23,7 @@
|
|||||||
name="moderate-delete-comment"
|
name="moderate-delete-comment"
|
||||||
layer="..interfaces.IDiscussionLayer"
|
layer="..interfaces.IDiscussionLayer"
|
||||||
class=".comments.DeleteComment"
|
class=".comments.DeleteComment"
|
||||||
permission="cmf.ManagePortal"
|
permission="plone.app.discussion.ReviewComments"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<!-- Publish comment view -->
|
<!-- Publish comment view -->
|
||||||
@ -32,7 +32,7 @@
|
|||||||
name="moderate-publish-comment"
|
name="moderate-publish-comment"
|
||||||
layer="..interfaces.IDiscussionLayer"
|
layer="..interfaces.IDiscussionLayer"
|
||||||
class=".comments.PublishComment"
|
class=".comments.PublishComment"
|
||||||
permission="cmf.ManagePortal"
|
permission="plone.app.discussion.ReviewComments"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<!-- Comments viewlet -->
|
<!-- Comments viewlet -->
|
||||||
|
Loading…
Reference in New Issue
Block a user