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"
 | 
			
		||||
        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 -->
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user